1 #include "librpc/rpc/dcerpc.h"
2 #include "bin/default/librpc/gen_ndr/frsapi.h"
3 #ifndef _HEADER_RPC_frsapi
4 #define _HEADER_RPC_frsapi
6 extern const struct ndr_interface_table ndr_table_frsapi;
8 struct tevent_req *dcerpc_frsapi_SetDsPollingIntervalW_r_send(TALLOC_CTX *mem_ctx,
9 struct tevent_context *ev,
10 struct dcerpc_binding_handle *h,
11 struct frsapi_SetDsPollingIntervalW *r);
12 NTSTATUS dcerpc_frsapi_SetDsPollingIntervalW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
13 NTSTATUS dcerpc_frsapi_SetDsPollingIntervalW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_SetDsPollingIntervalW *r);
14 struct tevent_req *dcerpc_frsapi_SetDsPollingIntervalW_send(TALLOC_CTX *mem_ctx,
15 struct tevent_context *ev,
16 struct dcerpc_binding_handle *h,
17 uint32_t _CurrentInterval /* [in] */,
18 uint32_t _DsPollingLongInterval /* [in] */,
19 uint32_t _DsPollingShortInterval /* [in] */);
20 NTSTATUS dcerpc_frsapi_SetDsPollingIntervalW_recv(struct tevent_req *req,
23 NTSTATUS dcerpc_frsapi_SetDsPollingIntervalW(struct dcerpc_binding_handle *h,
25 uint32_t _CurrentInterval /* [in] */,
26 uint32_t _DsPollingLongInterval /* [in] */,
27 uint32_t _DsPollingShortInterval /* [in] */,
30 struct tevent_req *dcerpc_frsapi_GetDsPollingIntervalW_r_send(TALLOC_CTX *mem_ctx,
31 struct tevent_context *ev,
32 struct dcerpc_binding_handle *h,
33 struct frsapi_GetDsPollingIntervalW *r);
34 NTSTATUS dcerpc_frsapi_GetDsPollingIntervalW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
35 NTSTATUS dcerpc_frsapi_GetDsPollingIntervalW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_GetDsPollingIntervalW *r);
36 struct tevent_req *dcerpc_frsapi_GetDsPollingIntervalW_send(TALLOC_CTX *mem_ctx,
37 struct tevent_context *ev,
38 struct dcerpc_binding_handle *h,
39 uint32_t *_CurrentInterval /* [out] [ref] */,
40 uint32_t *_DsPollingLongInterval /* [out] [ref] */,
41 uint32_t *_DsPollingShortInterval /* [out] [ref] */);
42 NTSTATUS dcerpc_frsapi_GetDsPollingIntervalW_recv(struct tevent_req *req,
45 NTSTATUS dcerpc_frsapi_GetDsPollingIntervalW(struct dcerpc_binding_handle *h,
47 uint32_t *_CurrentInterval /* [out] [ref] */,
48 uint32_t *_DsPollingLongInterval /* [out] [ref] */,
49 uint32_t *_DsPollingShortInterval /* [out] [ref] */,
52 struct tevent_req *dcerpc_frsapi_InfoW_r_send(TALLOC_CTX *mem_ctx,
53 struct tevent_context *ev,
54 struct dcerpc_binding_handle *h,
55 struct frsapi_InfoW *r);
56 NTSTATUS dcerpc_frsapi_InfoW_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
57 NTSTATUS dcerpc_frsapi_InfoW_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_InfoW *r);
58 struct tevent_req *dcerpc_frsapi_InfoW_send(TALLOC_CTX *mem_ctx,
59 struct tevent_context *ev,
60 struct dcerpc_binding_handle *h,
61 uint32_t _length /* [in] [range(0,0x10000)] */,
62 struct frsapi_Info *_info /* [in,out] [unique] */);
63 NTSTATUS dcerpc_frsapi_InfoW_recv(struct tevent_req *req,
66 NTSTATUS dcerpc_frsapi_InfoW(struct dcerpc_binding_handle *h,
68 uint32_t _length /* [in] [range(0,0x10000)] */,
69 struct frsapi_Info *_info /* [in,out] [unique] */,
72 struct tevent_req *dcerpc_frsapi_IsPathReplicated_r_send(TALLOC_CTX *mem_ctx,
73 struct tevent_context *ev,
74 struct dcerpc_binding_handle *h,
75 struct frsapi_IsPathReplicated *r);
76 NTSTATUS dcerpc_frsapi_IsPathReplicated_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
77 NTSTATUS dcerpc_frsapi_IsPathReplicated_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_IsPathReplicated *r);
78 struct tevent_req *dcerpc_frsapi_IsPathReplicated_send(TALLOC_CTX *mem_ctx,
79 struct tevent_context *ev,
80 struct dcerpc_binding_handle *h,
81 const char *_path /* [in] [unique,charset(UTF16)] */,
82 enum frsapi_ReplicaSetType _replica_set_type /* [in] */,
83 uint32_t *_replicated /* [out] [ref] */,
84 uint32_t *_primary /* [out] [ref] */,
85 uint32_t *_root /* [out] [ref] */,
86 struct GUID *_replica_set_guid /* [out] [ref] */);
87 NTSTATUS dcerpc_frsapi_IsPathReplicated_recv(struct tevent_req *req,
90 NTSTATUS dcerpc_frsapi_IsPathReplicated(struct dcerpc_binding_handle *h,
92 const char *_path /* [in] [unique,charset(UTF16)] */,
93 enum frsapi_ReplicaSetType _replica_set_type /* [in] */,
94 uint32_t *_replicated /* [out] [ref] */,
95 uint32_t *_primary /* [out] [ref] */,
96 uint32_t *_root /* [out] [ref] */,
97 struct GUID *_replica_set_guid /* [out] [ref] */,
100 struct tevent_req *dcerpc_frsapi_WriterCommand_r_send(TALLOC_CTX *mem_ctx,
101 struct tevent_context *ev,
102 struct dcerpc_binding_handle *h,
103 struct frsapi_WriterCommand *r);
104 NTSTATUS dcerpc_frsapi_WriterCommand_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
105 NTSTATUS dcerpc_frsapi_WriterCommand_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_WriterCommand *r);
106 struct tevent_req *dcerpc_frsapi_WriterCommand_send(TALLOC_CTX *mem_ctx,
107 struct tevent_context *ev,
108 struct dcerpc_binding_handle *h,
109 enum frsapi_WriterCommandsValues _command /* [in] */);
110 NTSTATUS dcerpc_frsapi_WriterCommand_recv(struct tevent_req *req,
113 NTSTATUS dcerpc_frsapi_WriterCommand(struct dcerpc_binding_handle *h,
115 enum frsapi_WriterCommandsValues _command /* [in] */,
118 struct tevent_req *dcerpc_frsapi_ForceReplication_r_send(TALLOC_CTX *mem_ctx,
119 struct tevent_context *ev,
120 struct dcerpc_binding_handle *h,
121 struct frsapi_ForceReplication *r);
122 NTSTATUS dcerpc_frsapi_ForceReplication_r_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
123 NTSTATUS dcerpc_frsapi_ForceReplication_r(struct dcerpc_binding_handle *h, TALLOC_CTX *mem_ctx, struct frsapi_ForceReplication *r);
124 struct tevent_req *dcerpc_frsapi_ForceReplication_send(TALLOC_CTX *mem_ctx,
125 struct tevent_context *ev,
126 struct dcerpc_binding_handle *h,
127 struct GUID *_replica_set_guid /* [in] [unique] */,
128 struct GUID *_connection_guid /* [in] [unique] */,
129 const char *_replica_set_name /* [in] [unique,charset(UTF16)] */,
130 const char *_partner_dns_name /* [in] [unique,charset(UTF16)] */);
131 NTSTATUS dcerpc_frsapi_ForceReplication_recv(struct tevent_req *req,
134 NTSTATUS dcerpc_frsapi_ForceReplication(struct dcerpc_binding_handle *h,
136 struct GUID *_replica_set_guid /* [in] [unique] */,
137 struct GUID *_connection_guid /* [in] [unique] */,
138 const char *_replica_set_name /* [in] [unique,charset(UTF16)] */,
139 const char *_partner_dns_name /* [in] [unique,charset(UTF16)] */,
142 #endif /* _HEADER_RPC_frsapi */