summaryrefslogtreecommitdiffstats
path: root/source/include/ntdomain.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-29 18:57:22 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-29 18:57:22 +0000
commit4a44cccf4401e0ce01303459011ac64805c53561 (patch)
tree29f1b6456b84eccf171820172bad55e91a64e887 /source/include/ntdomain.h
parent497d4231723576390b10f5ea8704bd0af88d76ab (diff)
downloadsamba-4a44cccf4401e0ce01303459011ac64805c53561.tar.gz
samba-4a44cccf4401e0ce01303459011ac64805c53561.tar.xz
samba-4a44cccf4401e0ce01303459011ac64805c53561.zip
using #defines for function prototypes
Diffstat (limited to 'source/include/ntdomain.h')
-rw-r--r--source/include/ntdomain.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/include/ntdomain.h b/source/include/ntdomain.h
index 110901ec3ef..87a438841b5 100644
--- a/source/include/ntdomain.h
+++ b/source/include/ntdomain.h
@@ -146,5 +146,13 @@ struct acct_info
uint32 rid; /* domain-relative RID */
};
+/*
+ * higher order functions for use with msrpc client code
+ */
+
+#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*)
+
#endif /* _NT_DOMAIN_H */