diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-10-16 19:21:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:44:50 -0500 |
commit | ec6973747a7269224b4cf6ccb593f5ed92e07a94 (patch) | |
tree | 726c1997a0b78298a8bf0b6b0ee50422c97df770 /source4/librpc | |
parent | 3f3388a5648b41a22a399a73f484fb1ce5d539bd (diff) | |
download | samba-ec6973747a7269224b4cf6ccb593f5ed92e07a94.tar.gz samba-ec6973747a7269224b4cf6ccb593f5ed92e07a94.tar.bz2 samba-ec6973747a7269224b4cf6ccb593f5ed92e07a94.zip |
r11103: Eliminate ascstr
(This used to be commit c8a0511f37f8cff3e949ffda0bb7fae714d5bbb4)
Diffstat (limited to 'source4/librpc')
-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[] ); } |