summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-29 02:46:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:09:20 -0500
commit465e089dd30f8804994c00f31136fc041cf2a604 (patch)
treee24cd79d04038bc488656d9292dd157297c3b74e /source4/librpc
parent6e614bf63260cf13b4196cc1c5e37595f149a72a (diff)
downloadsamba-465e089dd30f8804994c00f31136fc041cf2a604.tar.gz
samba-465e089dd30f8804994c00f31136fc041cf2a604.tar.bz2
samba-465e089dd30f8804994c00f31136fc041cf2a604.zip
r5080: patch from ronnie to make our samr IDL a little more consistent
(This used to be commit 7607ddda3f221bd5a68d28c0eae297569fbb58b1)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl44
1 files changed, 22 insertions, 22 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index af3b510bd9..9b93b5bdce 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -376,24 +376,24 @@
} samr_GroupInfoDesciption;
typedef enum {
- GroupInfoAll = 1,
- GroupInfoName = 2,
- GroupInfoX = 3,
- GroupInfoDescription = 4,
- GroupInfoAll2 = 5
- } GroupInfo;
+ GROUPINFOALL = 1,
+ GROUPINFONAME = 2,
+ GROUPINFOX = 3,
+ GROUPINFODESCRIPTION = 4,
+ GROUPINFOALL2 = 5
+ } samr_GroupInfoEnum;
typedef union {
- [case(GroupInfoAll)] samr_GroupInfoAll all;
- [case(GroupInfoName)] samr_String name;
- [case(GroupInfoX)] samr_GroupInfoX unknown;
- [case(GroupInfoDescription)] samr_String description;
- [case(GroupInfoAll2)] samr_GroupInfoAll all2;
+ [case(GROUPINFOALL)] samr_GroupInfoAll all;
+ [case(GROUPINFONAME)] samr_String name;
+ [case(GROUPINFOX)] samr_GroupInfoX unknown;
+ [case(GROUPINFODESCRIPTION)] samr_String description;
+ [case(GROUPINFOALL2)] samr_GroupInfoAll all2;
} samr_GroupInfo;
NTSTATUS samr_QueryGroupInfo(
[in,ref] policy_handle *group_handle,
- [in] GroupInfo level,
+ [in] samr_GroupInfoEnum level,
[out,switch_is(level)] samr_GroupInfo *info
);
@@ -401,7 +401,7 @@
/* Function 0x15 */
NTSTATUS samr_SetGroupInfo(
[in,ref] policy_handle *group_handle,
- [in] GroupInfo level,
+ [in] samr_GroupInfoEnum level,
[in,switch_is(level),ref] samr_GroupInfo *info
);
@@ -477,20 +477,20 @@
} samr_AliasInfoAll;
typedef enum {
- AliasInfoAll = 1,
- AliasInfoName = 2,
- AliasInfoDescription = 3
- } AliasInfo;
+ ALIASINFOALL = 1,
+ ALIASINFONAME = 2,
+ ALIASINFODESCRIPTION = 3
+ } samr_AliasInfoEnum;
typedef union {
- [case(AliasInfoAll)] samr_AliasInfoAll all;
- [case(AliasInfoName)] samr_String name;
- [case(AliasInfoDescription)] samr_String description;
+ [case(ALIASINFOALL)] samr_AliasInfoAll all;
+ [case(ALIASINFONAME)] samr_String name;
+ [case(ALIASINFODESCRIPTION)] samr_String description;
} samr_AliasInfo;
NTSTATUS samr_QueryAliasInfo(
[in,ref] policy_handle *alias_handle,
- [in] AliasInfo level,
+ [in] samr_AliasInfoEnum level,
[out,switch_is(level)] samr_AliasInfo *info
);
@@ -498,7 +498,7 @@
/* Function 0x1d */
NTSTATUS samr_SetAliasInfo(
[in,ref] policy_handle *alias_handle,
- [in] AliasInfo level,
+ [in] samr_AliasInfoEnum level,
[in,switch_is(level),ref] samr_AliasInfo *info
);