mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-rpc_client: move protos to init_spoolss.h
Guenther
This commit is contained in:
parent
cc06133b0a
commit
5a6f3a0666
@ -5011,19 +5011,6 @@ struct cli_state *rpc_pipe_smbd_smb_conn(struct rpc_pipe_client *p);
|
||||
NTSTATUS rpc_transport_sock_init(TALLOC_CTX *mem_ctx, int fd,
|
||||
struct rpc_cli_transport **presult);
|
||||
|
||||
/* The following definitions come from rpc_client/init_spoolss.c */
|
||||
|
||||
bool init_systemtime(struct spoolss_Time *r,
|
||||
struct tm *unixtime);
|
||||
time_t spoolss_Time_to_time_t(const struct spoolss_Time *r);
|
||||
WERROR pull_spoolss_PrinterData(TALLOC_CTX *mem_ctx,
|
||||
const DATA_BLOB *blob,
|
||||
union spoolss_PrinterData *data,
|
||||
enum winreg_Type type);
|
||||
WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob,
|
||||
enum winreg_Type type,
|
||||
union spoolss_PrinterData *data);
|
||||
|
||||
/* The following definitions come from rpc_client/init_lsa.c */
|
||||
|
||||
void init_lsa_String(struct lsa_String *name, const char *s);
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "rpc_client/init_spoolss.h"
|
||||
|
||||
/*******************************************************************
|
||||
********************************************************************/
|
||||
|
14
source3/rpc_client/init_spoolss.h
Normal file
14
source3/rpc_client/init_spoolss.h
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
/* The following definitions come from rpc_client/init_spoolss.c */
|
||||
|
||||
bool init_systemtime(struct spoolss_Time *r,
|
||||
struct tm *unixtime);
|
||||
time_t spoolss_Time_to_time_t(const struct spoolss_Time *r);
|
||||
WERROR pull_spoolss_PrinterData(TALLOC_CTX *mem_ctx,
|
||||
const DATA_BLOB *blob,
|
||||
union spoolss_PrinterData *data,
|
||||
enum winreg_Type type);
|
||||
WERROR push_spoolss_PrinterData(TALLOC_CTX *mem_ctx, DATA_BLOB *blob,
|
||||
enum winreg_Type type,
|
||||
union spoolss_PrinterData *data);
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/srv_spoolss.h"
|
||||
#include "../librpc/gen_ndr/cli_spoolss.h"
|
||||
#include "rpc_client/init_spoolss.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "registry.h"
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "rpcclient.h"
|
||||
#include "../librpc/gen_ndr/cli_spoolss.h"
|
||||
#include "rpc_client/cli_spoolss.h"
|
||||
#include "rpc_client/init_spoolss.h"
|
||||
#include "registry.h"
|
||||
|
||||
#define RPCCLIENT_PRINTERNAME(_printername, _cli, _arg) \
|
||||
|
@ -30,6 +30,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_spoolss.h"
|
||||
#include "rpc_client/cli_spoolss.h"
|
||||
#include "rpc_client/init_spoolss.h"
|
||||
#include "../librpc/gen_ndr/cli_srvsvc.h"
|
||||
#include "../librpc/gen_ndr/srv_samr.h"
|
||||
#include "../librpc/gen_ndr/srv_spoolss.h"
|
||||
|
Loading…
Reference in New Issue
Block a user