s3:files: factor fsp_free() out of file_free()
[Samba/gebeck_regimport.git] / source3 / printing / nt_printing_migrate.h
blob3da8db462683a016db54f92b36e74bcd8fbc5486
1 /*
2 * Unix SMB/CIFS implementation.
3 * RPC Pipe client / server routines
5 * Copyright (c) Andreas Schneider 2010.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 3 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, see <http://www.gnu.org/licenses/>.
21 #ifndef _NT_PRINTING_MIGRATE_H_
22 #define _NT_PRINTING_MIGRATE_H_
24 NTSTATUS printing_tdb_migrate_form(TALLOC_CTX *mem_ctx,
25 struct rpc_pipe_client *winreg_pipe,
26 const char *key_name,
27 unsigned char *data,
28 size_t length);
29 NTSTATUS printing_tdb_migrate_driver(TALLOC_CTX *mem_ctx,
30 struct rpc_pipe_client *winreg_pipe,
31 const char *key_name,
32 unsigned char *data,
33 size_t length);
34 NTSTATUS printing_tdb_migrate_printer(TALLOC_CTX *mem_ctx,
35 struct rpc_pipe_client *winreg_pipe,
36 const char *key_name,
37 unsigned char *data,
38 size_t length);
39 NTSTATUS printing_tdb_migrate_secdesc(TALLOC_CTX *mem_ctx,
40 struct rpc_pipe_client *winreg_pipe,
41 const char *key_name,
42 unsigned char *data,
43 size_t length);
45 #endif /* _NT_PRINTING_MIGRATE_H_ */