diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-08 20:58:06 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-08 20:58:06 +0000 |
commit | c6e3fc5838aacde454c4b16436532455c4dd8ecf (patch) | |
tree | 31134c362077662256f59fd0344177c535311957 /source3/include/ntdomain.h | |
parent | 21d1d4a2e2704ca8815b9bccc91fe9b0d4aa7149 (diff) | |
download | samba-c6e3fc5838aacde454c4b16436532455c4dd8ecf.tar.gz samba-c6e3fc5838aacde454c4b16436532455c4dd8ecf.tar.bz2 samba-c6e3fc5838aacde454c4b16436532455c4dd8ecf.zip |
const feeding frenzy
(This used to be commit e0eb390ab3e2a0cce191e78ea4ff90d088a8895c)
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r-- | source3/include/ntdomain.h | 66 |
1 files changed, 44 insertions, 22 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 5bb0888151..1b7a7b55a6 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -150,28 +150,50 @@ struct acct_info * higher order functions for use with msrpc client code */ -#define ALIAS_FN(fn) void (*fn)(char*, DOM_SID*, uint32, char*) -#define ALIAS_INFO_FN(fn) void (*fn)(char*, DOM_SID*, uint32, ALIAS_INFO_CTR *) -#define ALIAS_MEM_FN(fn) void(*fn)(char*, DOM_SID*, uint32, char*, uint32, DOM_SID**, char**, uint8*) - -#define GROUP_FN(fn) void (*fn)(char*, DOM_SID*, uint32, char*) -#define GROUP_INFO_FN(fn) void (*fn)(char*, DOM_SID*, uint32, GROUP_INFO_CTR *) -#define GROUP_MEM_FN(fn) void(*fn)(char*, DOM_SID*, uint32, char*, uint32, uint32*, char**, uint32*) - -#define USER_FN(fn) void (*fn)(char*, DOM_SID*, uint32, char*) -#define USER_INFO_FN(fn) void (*fn)(char*, DOM_SID*, uint32, SAM_USER_INFO_21 *) -#define USER_MEM_FN(fn) void (*fn)(char*, DOM_SID*, uint32, char*, uint32, uint32*, char**, uint32*) - -#define REG_FN(fn) void (*fn)(int, const char *, int) -#define REG_KEY_FN(fn) void (*fn)(const char*, const char*, time_t) -#define REG_VAL_FN(fn) void (*fn)(const char *, const char*, uint32, BUFFER2 *) - -#define SVC_QUERY_FN(fn) void (*fn)(QUERY_SERVICE_CONFIG *) -#define SVC_INFO_FN(fn) void (*fn)(ENUM_SRVC_STATUS *) - -#define TPRT_INFO_FN(fn) void (*fn)(SRV_TPRT_INFO_CTR *) - -#define PRINT_INFO_FN(fn) void (*fn)(const char*, uint32, uint32, void **) +#define ALIAS_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, const char*) +#define ALIAS_INFO_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, ALIAS_INFO_CTR *const) +#define ALIAS_MEM_FN(fn)\ + void(*fn)(const char*, const DOM_SID*, uint32, const char*,\ + uint32, DOM_SID *const *const, char *const *const,\ + uint8*const) + +#define GROUP_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, const char*) +#define GROUP_INFO_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, GROUP_INFO_CTR *const) +#define GROUP_MEM_FN(fn)\ + void(*fn)(const char*, const DOM_SID*, uint32, const char*,\ + uint32, const uint32*, char *const *const,\ + uint32*const) + +#define USER_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, const char*) +#define USER_INFO_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32,\ + SAM_USER_INFO_21 *const) +#define USER_MEM_FN(fn)\ + void (*fn)(const char*, const DOM_SID*, uint32, const char*,\ + uint32, const uint32*, char *const *const, uint32* const) + +#define REG_FN(fn)\ + void (*fn)(int, const char *, int) +#define REG_KEY_FN(fn)\ + void (*fn)(const char*, const char*, time_t) +#define REG_VAL_FN(fn)\ + void (*fn)(const char *, const char*, uint32, const BUFFER2 *) + +#define SVC_QUERY_FN(fn)\ + void (*fn)(const QUERY_SERVICE_CONFIG *) +#define SVC_INFO_FN(fn)\ + void (*fn)(const ENUM_SRVC_STATUS *) + +#define TPRT_INFO_FN(fn)\ + void (*fn)(const SRV_TPRT_INFO_CTR *) + +#define PRINT_INFO_FN(fn)\ + void (*fn)(const char*, uint32, uint32, void *const *const) #endif /* _NT_DOMAIN_H */ |