diff options
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/gen_ndr/ndr_wkssvc.c | 8 | ||||
-rw-r--r-- | source3/librpc/gen_ndr/wkssvc.h | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/source3/librpc/gen_ndr/ndr_wkssvc.c b/source3/librpc/gen_ndr/ndr_wkssvc.c index 10e5e55e2e..e494f08be0 100644 --- a/source3/librpc/gen_ndr/ndr_wkssvc.c +++ b/source3/librpc/gen_ndr/ndr_wkssvc.c @@ -5474,10 +5474,10 @@ _PUBLIC_ void ndr_print_wkssvc_NetJoinStatus(struct ndr_print *ndr, const char * const char *val = NULL; switch (r) { - case NetSetupUnknownStatus: val = "NetSetupUnknownStatus"; break; - case NetSetupUnjoined: val = "NetSetupUnjoined"; break; - case NetSetupWorkgroupName: val = "NetSetupWorkgroupName"; break; - case NetSetupDomainName: val = "NetSetupDomainName"; break; + case NET_SETUP_UNKNOWN_STATUS: val = "NET_SETUP_UNKNOWN_STATUS"; break; + case NET_SETUP_UNJOINED: val = "NET_SETUP_UNJOINED"; break; + case NET_SETUP_WORKGROUP_NAME: val = "NET_SETUP_WORKGROUP_NAME"; break; + case NET_SETUP_DOMAIN_NAME: val = "NET_SETUP_DOMAIN_NAME"; break; } ndr_print_enum(ndr, name, "ENUM", val, r); } diff --git a/source3/librpc/gen_ndr/wkssvc.h b/source3/librpc/gen_ndr/wkssvc.h index 088ad6632b..07b4c40e83 100644 --- a/source3/librpc/gen_ndr/wkssvc.h +++ b/source3/librpc/gen_ndr/wkssvc.h @@ -439,17 +439,17 @@ enum wkssvc_NetValidateNameType enum wkssvc_NetJoinStatus #ifndef USE_UINT_ENUMS { - NetSetupUnknownStatus=0, - NetSetupUnjoined=1, - NetSetupWorkgroupName=2, - NetSetupDomainName=3 + NET_SETUP_UNKNOWN_STATUS=0, + NET_SETUP_UNJOINED=1, + NET_SETUP_WORKGROUP_NAME=2, + NET_SETUP_DOMAIN_NAME=3 } #else { __donnot_use_enum_wkssvc_NetJoinStatus=0x7FFFFFFF} -#define NetSetupUnknownStatus ( 0 ) -#define NetSetupUnjoined ( 1 ) -#define NetSetupWorkgroupName ( 2 ) -#define NetSetupDomainName ( 3 ) +#define NET_SETUP_UNKNOWN_STATUS ( 0 ) +#define NET_SETUP_UNJOINED ( 1 ) +#define NET_SETUP_WORKGROUP_NAME ( 2 ) +#define NET_SETUP_DOMAIN_NAME ( 3 ) #endif ; |