4991d06bd3e9588b5fc964b52f22c9bb470da45d
[samba.git] / source3 / printing / nt_printing_migrate.h
1 /*
2  *  Unix SMB/CIFS implementation.
3  *  RPC Pipe client / server routines
4  *
5  *  Copyright (c) Andreas Schneider            2010.
6  *
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.
11  *
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.
16  *
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/>.
19  */
20
21 #ifndef _NT_PRINTING_MIGRATE_H_
22 #define _NT_PRINTING_MIGRATE_H_
23
24 NTSTATUS printing_tdb_migrate_form(TALLOC_CTX *mem_ctx,
25                                    struct rpc_pipe_client *pipe_hnd,
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 *pipe_hnd,
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 *pipe_hnd,
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 *pipe_hnd,
41                                       const char *key_name,
42                                       unsigned char *data,
43                                       size_t length);
44
45 #endif /* _NT_PRINTING_MIGRATE_H_ */