diff options
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/drsuapi.idl | 8 | ||||
-rw-r--r-- | source4/librpc/idl/idl_types.h | 6 | ||||
-rw-r--r-- | source4/librpc/idl/mgmt.idl | 2 |
3 files changed, 5 insertions, 11 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl index b348cbec57..f900af9ce2 100644 --- a/source4/librpc/idl/drsuapi.idl +++ b/source4/librpc/idl/drsuapi.idl @@ -98,12 +98,12 @@ interface drsuapi * * maybe the bind_guid could also be the invocation_id see drsuapi_DsReplicaConnection04 */ - const string DRSUAPI_DS_BIND_GUID = "e24d201a-4fd6-11d1-a3da-0000f875ae0d"; + const char *DRSUAPI_DS_BIND_GUID = "e24d201a-4fd6-11d1-a3da-0000f875ae0d"; /* * this magic guid are needed to fetch the whole tree with drsuapi_DsGetNCChanges() */ - const string DRSUAPI_DS_BIND_GUID_W2K = "6abec3d1-3054-41c8-a362-5a0c5b7d5d71"; - const string DRSUAPI_DS_BIND_GUID_W2K3 = "6afab99c-6e26-464a-975f-f58f105218bc"; + const char *DRSUAPI_DS_BIND_GUID_W2K = "6abec3d1-3054-41c8-a362-5a0c5b7d5d71"; + const char *DRSUAPI_DS_BIND_GUID_W2K3 = "6afab99c-6e26-464a-975f-f58f105218bc"; WERROR drsuapi_DsBind( [in,unique] GUID *bind_guid, @@ -714,7 +714,7 @@ interface drsuapi typedef struct { [ref] drsuapi_DsReplicaObjectIdentifier *naming_context; - [ref] ascstr *dest_dsa_dns_name; + [ref,charset(DOS),string] uint8 *dest_dsa_dns_name; GUID dest_dsa_guid; drsuapi_DsReplicaUpdateRefsOptions options; } drsuapi_DsReplicaUpdateRefsRequest1; diff --git a/source4/librpc/idl/idl_types.h b/source4/librpc/idl/idl_types.h index 872883df4b..98a8d1c093 100644 --- a/source4/librpc/idl/idl_types.h +++ b/source4/librpc/idl/idl_types.h @@ -33,12 +33,6 @@ #define astring15 [flag(STR_ASCII|STR_FIXLEN15)] string /* - an ascii string prefixed with [size] [offset] [length], all 32 bits - null terminated -*/ -#define ascstr [flag(STR_ASCII|STR_SIZE4|STR_LEN4)] string - -/* an ascii string prefixed with [offset] [length], both 32 bits null terminated */ diff --git a/source4/librpc/idl/mgmt.idl b/source4/librpc/idl/mgmt.idl index 8329c8e55f..ce9b50abfa 100644 --- a/source4/librpc/idl/mgmt.idl +++ b/source4/librpc/idl/mgmt.idl @@ -71,6 +71,6 @@ interface mgmt WERROR mgmt_inq_princ_name ( [in] uint32 authn_proto, [in] uint32 princ_name_size, - [out] ascstr princ_name + [out] [string,charset(DOS)] uint8 princ_name[] ); } |