summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/drsuapi.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-11 20:14:11 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-11 22:13:45 +1000
commitd7d7613e31b010bc764616b3ea1d75f0c8c90235 (patch)
tree709d9008b91bf2e9cae445d4614c31c8b71e47af /librpc/gen_ndr/drsuapi.h
parentcbac8e4fa02cb359efca9eb84b7b5b06008d7f6d (diff)
downloadsamba-d7d7613e31b010bc764616b3ea1d75f0c8c90235.tar.gz
samba-d7d7613e31b010bc764616b3ea1d75f0c8c90235.tar.bz2
samba-d7d7613e31b010bc764616b3ea1d75f0c8c90235.zip
s4-idl: added the IDL for the DsReplica* calls
Diffstat (limited to 'librpc/gen_ndr/drsuapi.h')
-rw-r--r--librpc/gen_ndr/drsuapi.h77
1 files changed, 70 insertions, 7 deletions
diff --git a/librpc/gen_ndr/drsuapi.h b/librpc/gen_ndr/drsuapi.h
index b4888a0ff8..b7ebe4cbc6 100644
--- a/librpc/gen_ndr/drsuapi.h
+++ b/librpc/gen_ndr/drsuapi.h
@@ -684,13 +684,58 @@ union drsuapi_DsReplicaUpdateRefsRequest {
#define DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION ( 0x00000001 )
#define DRSUAPI_DS_REPLICA_ADD_WRITEABLE ( 0x00000002 )
+struct drsuapi_DsReplicaAddRequest1 {
+ struct drsuapi_DsReplicaObjectIdentifier *naming_context;/* [ref] */
+ const char *source_dsa_address;/* [unique,charset(UTF16)] */
+ uint8_t schedule[84];
+ uint32_t options;
+};
+
+struct drsuapi_DsReplicaAddRequest2 {
+ struct drsuapi_DsReplicaObjectIdentifier *naming_context;/* [ref] */
+ struct drsuapi_DsReplicaObjectIdentifier *source_dsa_dn;/* [unique] */
+ struct drsuapi_DsReplicaObjectIdentifier *transport_dn;/* [unique] */
+ const char *source_dsa_address;/* [unique,charset(UTF16)] */
+ uint8_t schedule[84];
+ uint32_t options;
+};
+
+union drsuapi_DsReplicaAddRequest {
+ struct drsuapi_DsReplicaAddRequest1 req1;/* [case] */
+ struct drsuapi_DsReplicaAddRequest2 req2;/* [case(2)] */
+}/* [switch_type(int32)] */;
+
/* bitmap drsuapi_DsReplicaDeleteOptions */
-#define DRSUAPI_DS_REPLICA_DELETE_ASYNCHRONOUS_OPERATION ( 0x00000001 )
-#define DRSUAPI_DS_REPLICA_DELETE_WRITEABLE ( 0x00000002 )
+#define DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION ( 0x00000001 )
+#define DRSUAPI_DS_REPLICA_ADD_WRITEABLE ( 0x00000002 )
+
+struct drsuapi_DsReplicaDelRequest1 {
+ struct drsuapi_DsReplicaObjectIdentifier *naming_context;/* [ref] */
+ const char *source_dsa_address;/* [unique,charset(UTF16)] */
+ uint32_t options;
+};
+
+union drsuapi_DsReplicaDelRequest {
+ struct drsuapi_DsReplicaDelRequest1 req1;/* [case] */
+}/* [switch_type(int32)] */;
/* bitmap drsuapi_DsReplicaModifyOptions */
-#define DRSUAPI_DS_REPLICA_MODIFY_ASYNCHRONOUS_OPERATION ( 0x00000001 )
-#define DRSUAPI_DS_REPLICA_MODIFY_WRITEABLE ( 0x00000002 )
+#define DRSUAPI_DS_REPLICA_ADD_ASYNCHRONOUS_OPERATION ( 0x00000001 )
+#define DRSUAPI_DS_REPLICA_ADD_WRITEABLE ( 0x00000002 )
+
+struct drsuapi_DsReplicaModRequest1 {
+ struct drsuapi_DsReplicaObjectIdentifier *naming_context;/* [ref] */
+ struct GUID source_dra;
+ const char *source_dra_address;/* [unique,charset(UTF16)] */
+ uint8_t schedule[84];
+ uint32_t replica_flags;
+ uint32_t modify_fields;
+ uint32_t options;
+};
+
+union drsuapi_DsReplicaModRequest {
+ struct drsuapi_DsReplicaModRequest1 req1;/* [case] */
+}/* [switch_type(int32)] */;
enum drsuapi_DsMembershipType
#ifndef USE_UINT_ENUMS
@@ -1546,7 +1591,13 @@ struct drsuapi_DsReplicaUpdateRefs {
};
-struct DRSUAPI_REPLICA_ADD {
+struct drsuapi_DsReplicaAdd {
+ struct {
+ struct policy_handle *bind_handle;/* [ref] */
+ int32_t level;
+ union drsuapi_DsReplicaAddRequest req;/* [switch_is(level)] */
+ } in;
+
struct {
WERROR result;
} out;
@@ -1554,7 +1605,13 @@ struct DRSUAPI_REPLICA_ADD {
};
-struct DRSUAPI_REPLICA_DEL {
+struct drsuapi_DsReplicaDel {
+ struct {
+ struct policy_handle *bind_handle;/* [ref] */
+ int32_t level;
+ union drsuapi_DsReplicaDelRequest req;/* [switch_is(level)] */
+ } in;
+
struct {
WERROR result;
} out;
@@ -1562,7 +1619,13 @@ struct DRSUAPI_REPLICA_DEL {
};
-struct DRSUAPI_REPLICA_MODIFY {
+struct drsuapi_DsReplicaMod {
+ struct {
+ struct policy_handle *bind_handle;/* [ref] */
+ int32_t level;
+ union drsuapi_DsReplicaModRequest req;/* [switch_is(level)] */
+ } in;
+
struct {
WERROR result;
} out;