selftest: Run waf build --dup-symbol-check under $PYTHON
[Samba.git] / source3 / printing / nt_printing_migrate.h
blob0c9800ddcd5ced3d3c1cff2a344fdb2ea31a58e8
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 bool do_string_conversion);
35 NTSTATUS printing_tdb_migrate_printer(TALLOC_CTX *mem_ctx,
36 struct rpc_pipe_client *winreg_pipe,
37 const char *key_name,
38 unsigned char *data,
39 size_t length,
40 bool do_string_conversion);
41 NTSTATUS printing_tdb_migrate_secdesc(TALLOC_CTX *mem_ctx,
42 struct rpc_pipe_client *winreg_pipe,
43 const char *key_name,
44 unsigned char *data,
45 size_t length);
47 #endif /* _NT_PRINTING_MIGRATE_H_ */