s3-spoolss: add and use spoolss_printerinfo2_to_setprinterinfo2().
[vlendec/samba-autobuild/.git] / source3 / rpc_client / init_spoolss.h
1
2 /* The following definitions come from rpc_client/init_spoolss.c  */
3
4 bool init_systemtime(struct spoolss_Time *r,
5                      struct tm *unixtime);
6 time_t spoolss_Time_to_time_t(const struct spoolss_Time *r);
7 WERROR pull_spoolss_PrinterData(TALLOC_CTX *mem_ctx,
8                                 const DATA_BLOB *blob,
9                                 union spoolss_PrinterData *data,
10                                 enum winreg_Type type);
11 WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob,
12                                 enum winreg_Type type,
13                                 union spoolss_PrinterData *data);
14 void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i,
15                                              struct spoolss_SetPrinterInfo2 *s);
16