summaryrefslogtreecommitdiff
path: root/source3/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
commita8b8b8ac3b18437aee6e91749f0e76ef3a04d030 (patch)
tree86568065255ee7afd1b3d53ecb65ee1a6f34f26f /source3/include/ntdomain.h
parentd0fd259514a4cc4e7ec2b021ff68fe0e3fd1bf09 (diff)
downloadsamba-a8b8b8ac3b18437aee6e91749f0e76ef3a04d030.tar.gz
samba-a8b8b8ac3b18437aee6e91749f0e76ef3a04d030.tar.bz2
samba-a8b8b8ac3b18437aee6e91749f0e76ef3a04d030.zip
using #defines for function prototypes
(This used to be commit 4a44cccf4401e0ce01303459011ac64805c53561)
Diffstat (limited to 'source3/include/ntdomain.h')
-rw-r--r--source3/include/ntdomain.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index 110901ec3e..87a438841b 100644
--- a/source3/include/ntdomain.h
+++ b/source3/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 */