s3:configure: "test" only takes one "="
[Samba/gebeck_regimport.git] / librpc / gen_ndr / cli_drsuapi.h
blob65bc26a60de99b3c960692e98db2930b92e26e95
1 #include "../librpc/gen_ndr/ndr_drsuapi.h"
2 #ifndef __CLI_DRSUAPI__
3 #define __CLI_DRSUAPI__
4 NTSTATUS rpccli_drsuapi_DsBind(struct rpc_pipe_client *cli,
5 TALLOC_CTX *mem_ctx,
6 struct GUID *bind_guid /* [in] [unique] */,
7 struct drsuapi_DsBindInfoCtr *bind_info /* [in,out] [unique] */,
8 struct policy_handle *bind_handle /* [out] [ref] */,
9 WERROR *werror);
10 NTSTATUS rpccli_drsuapi_DsUnbind(struct rpc_pipe_client *cli,
11 TALLOC_CTX *mem_ctx,
12 struct policy_handle *bind_handle /* [in,out] [ref] */,
13 WERROR *werror);
14 NTSTATUS rpccli_drsuapi_DsReplicaSync(struct rpc_pipe_client *cli,
15 TALLOC_CTX *mem_ctx,
16 struct policy_handle *bind_handle /* [in] [ref] */,
17 int32_t level /* [in] */,
18 union drsuapi_DsReplicaSyncRequest req /* [in] [switch_is(level)] */,
19 WERROR *werror);
20 NTSTATUS rpccli_drsuapi_DsGetNCChanges(struct rpc_pipe_client *cli,
21 TALLOC_CTX *mem_ctx,
22 struct policy_handle *bind_handle /* [in] [ref] */,
23 int32_t level /* [in] */,
24 union drsuapi_DsGetNCChangesRequest *req /* [in] [ref,switch_is(level)] */,
25 int32_t *level_out /* [out] [ref] */,
26 union drsuapi_DsGetNCChangesCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
27 WERROR *werror);
28 NTSTATUS rpccli_drsuapi_DsReplicaUpdateRefs(struct rpc_pipe_client *cli,
29 TALLOC_CTX *mem_ctx,
30 struct policy_handle *bind_handle /* [in] [ref] */,
31 int32_t level /* [in] */,
32 union drsuapi_DsReplicaUpdateRefsRequest req /* [in] [switch_is(level)] */,
33 WERROR *werror);
34 NTSTATUS rpccli_DRSUAPI_REPLICA_ADD(struct rpc_pipe_client *cli,
35 TALLOC_CTX *mem_ctx,
36 WERROR *werror);
37 NTSTATUS rpccli_DRSUAPI_REPLICA_DEL(struct rpc_pipe_client *cli,
38 TALLOC_CTX *mem_ctx,
39 WERROR *werror);
40 NTSTATUS rpccli_DRSUAPI_REPLICA_MODIFY(struct rpc_pipe_client *cli,
41 TALLOC_CTX *mem_ctx,
42 WERROR *werror);
43 NTSTATUS rpccli_DRSUAPI_VERIFY_NAMES(struct rpc_pipe_client *cli,
44 TALLOC_CTX *mem_ctx,
45 WERROR *werror);
46 NTSTATUS rpccli_drsuapi_DsGetMemberships(struct rpc_pipe_client *cli,
47 TALLOC_CTX *mem_ctx,
48 struct policy_handle *bind_handle /* [in] [ref] */,
49 int32_t level /* [in] */,
50 union drsuapi_DsGetMembershipsRequest *req /* [in] [ref,switch_is(level)] */,
51 int32_t *level_out /* [out] [ref] */,
52 union drsuapi_DsGetMembershipsCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
53 WERROR *werror);
54 NTSTATUS rpccli_DRSUAPI_INTER_DOMAIN_MOVE(struct rpc_pipe_client *cli,
55 TALLOC_CTX *mem_ctx,
56 WERROR *werror);
57 NTSTATUS rpccli_drsuapi_DsGetNT4ChangeLog(struct rpc_pipe_client *cli,
58 TALLOC_CTX *mem_ctx,
59 struct policy_handle *bind_handle /* [in] [ref] */,
60 uint32_t level /* [in] */,
61 union drsuapi_DsGetNT4ChangeLogRequest *req /* [in] [ref,switch_is(level)] */,
62 uint32_t *level_out /* [out] [ref] */,
63 union drsuapi_DsGetNT4ChangeLogInfo *info /* [out] [ref,switch_is(*level_out)] */,
64 WERROR *werror);
65 NTSTATUS rpccli_drsuapi_DsCrackNames(struct rpc_pipe_client *cli,
66 TALLOC_CTX *mem_ctx,
67 struct policy_handle *bind_handle /* [in] [ref] */,
68 int32_t level /* [in] */,
69 union drsuapi_DsNameRequest *req /* [in] [ref,switch_is(level)] */,
70 int32_t *level_out /* [out] [ref] */,
71 union drsuapi_DsNameCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
72 WERROR *werror);
73 NTSTATUS rpccli_drsuapi_DsWriteAccountSpn(struct rpc_pipe_client *cli,
74 TALLOC_CTX *mem_ctx,
75 struct policy_handle *bind_handle /* [in] [ref] */,
76 int32_t level /* [in] */,
77 union drsuapi_DsWriteAccountSpnRequest *req /* [in] [ref,switch_is(level)] */,
78 int32_t *level_out /* [out] [ref] */,
79 union drsuapi_DsWriteAccountSpnResult *res /* [out] [ref,switch_is(*level_out)] */,
80 WERROR *werror);
81 NTSTATUS rpccli_drsuapi_DsRemoveDSServer(struct rpc_pipe_client *cli,
82 TALLOC_CTX *mem_ctx,
83 struct policy_handle *bind_handle /* [in] [ref] */,
84 int32_t level /* [in] */,
85 union drsuapi_DsRemoveDSServerRequest *req /* [in] [ref,switch_is(level)] */,
86 int32_t *level_out /* [out] [ref] */,
87 union drsuapi_DsRemoveDSServerResult *res /* [out] [ref,switch_is(*level_out)] */,
88 WERROR *werror);
89 NTSTATUS rpccli_DRSUAPI_REMOVE_DS_DOMAIN(struct rpc_pipe_client *cli,
90 TALLOC_CTX *mem_ctx,
91 WERROR *werror);
92 NTSTATUS rpccli_drsuapi_DsGetDomainControllerInfo(struct rpc_pipe_client *cli,
93 TALLOC_CTX *mem_ctx,
94 struct policy_handle *bind_handle /* [in] [ref] */,
95 int32_t level /* [in] */,
96 union drsuapi_DsGetDCInfoRequest *req /* [in] [ref,switch_is(level)] */,
97 int32_t *level_out /* [out] [ref] */,
98 union drsuapi_DsGetDCInfoCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
99 WERROR *werror);
100 NTSTATUS rpccli_drsuapi_DsAddEntry(struct rpc_pipe_client *cli,
101 TALLOC_CTX *mem_ctx,
102 struct policy_handle *bind_handle /* [in] [ref] */,
103 int32_t level /* [in] */,
104 union drsuapi_DsAddEntryRequest *req /* [in] [ref,switch_is(level)] */,
105 int32_t *level_out /* [out] [ref] */,
106 union drsuapi_DsAddEntryCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
107 WERROR *werror);
108 NTSTATUS rpccli_DRSUAPI_EXECUTE_KCC(struct rpc_pipe_client *cli,
109 TALLOC_CTX *mem_ctx,
110 WERROR *werror);
111 NTSTATUS rpccli_drsuapi_DsReplicaGetInfo(struct rpc_pipe_client *cli,
112 TALLOC_CTX *mem_ctx,
113 struct policy_handle *bind_handle /* [in] [ref] */,
114 enum drsuapi_DsReplicaGetInfoLevel level /* [in] */,
115 union drsuapi_DsReplicaGetInfoRequest *req /* [in] [ref,switch_is(level)] */,
116 enum drsuapi_DsReplicaInfoType *info_type /* [out] [ref] */,
117 union drsuapi_DsReplicaInfo *info /* [out] [ref,switch_is(*info_type)] */,
118 WERROR *werror);
119 NTSTATUS rpccli_DRSUAPI_ADD_SID_HISTORY(struct rpc_pipe_client *cli,
120 TALLOC_CTX *mem_ctx,
121 WERROR *werror);
122 NTSTATUS rpccli_drsuapi_DsGetMemberships2(struct rpc_pipe_client *cli,
123 TALLOC_CTX *mem_ctx,
124 struct policy_handle *bind_handle /* [in] [ref] */,
125 int32_t level /* [in] */,
126 union drsuapi_DsGetMemberships2Request *req /* [in] [ref,switch_is(level)] */,
127 int32_t *level_out /* [out] [ref] */,
128 union drsuapi_DsGetMemberships2Ctr *ctr /* [out] [ref,switch_is(*level_out)] */,
129 WERROR *werror);
130 NTSTATUS rpccli_DRSUAPI_REPLICA_VERIFY_OBJECTS(struct rpc_pipe_client *cli,
131 TALLOC_CTX *mem_ctx,
132 WERROR *werror);
133 NTSTATUS rpccli_DRSUAPI_GET_OBJECT_EXISTENCE(struct rpc_pipe_client *cli,
134 TALLOC_CTX *mem_ctx,
135 WERROR *werror);
136 NTSTATUS rpccli_drsuapi_QuerySitesByCost(struct rpc_pipe_client *cli,
137 TALLOC_CTX *mem_ctx,
138 struct policy_handle *bind_handle /* [in] [ref] */,
139 int32_t level /* [in] */,
140 union drsuapi_QuerySitesByCostRequest *req /* [in] [ref,switch_is(level)] */,
141 int32_t *level_out /* [out] [ref] */,
142 union drsuapi_QuerySitesByCostCtr *ctr /* [out] [ref,switch_is(*level_out)] */,
143 WERROR *werror);
144 #endif /* __CLI_DRSUAPI__ */