summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_unixinfo.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-07 21:09:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:17 -0500
commit368682954dee3442054d7a0b37730fa6ea50d601 (patch)
tree372c6bffbc80bc975f2e8f660df570803b661193 /source3/librpc/gen_ndr/ndr_unixinfo.c
parent5f8ef621b355941e846ad4943f820968761bd064 (diff)
downloadsamba-368682954dee3442054d7a0b37730fa6ea50d601.tar.gz
samba-368682954dee3442054d7a0b37730fa6ea50d601.tar.bz2
samba-368682954dee3442054d7a0b37730fa6ea50d601.zip
r18236: fully autogenerated unix info files
(This used to be commit cbe39cb5e54f4e13575959e02fb66b42f2336240)
Diffstat (limited to 'source3/librpc/gen_ndr/ndr_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/ndr_unixinfo.c78
1 files changed, 78 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_unixinfo.c b/source3/librpc/gen_ndr/ndr_unixinfo.c
index 8b87c67b96..e0ecdfe95e 100644
--- a/source3/librpc/gen_ndr/ndr_unixinfo.c
+++ b/source3/librpc/gen_ndr/ndr_unixinfo.c
@@ -513,3 +513,81 @@ void ndr_print_unixinfo_GetPWUid(struct ndr_print *ndr, const char *name, int fl
ndr->depth--;
}
+const struct dcerpc_interface_call unixinfo_calls[] = {
+ {
+ "unixinfo_SidToUid",
+ sizeof(struct unixinfo_SidToUid),
+ (ndr_push_flags_fn_t) ndr_push_unixinfo_SidToUid,
+ (ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToUid,
+ (ndr_print_function_t) ndr_print_unixinfo_SidToUid,
+ False,
+ },
+ {
+ "unixinfo_UidToSid",
+ sizeof(struct unixinfo_UidToSid),
+ (ndr_push_flags_fn_t) ndr_push_unixinfo_UidToSid,
+ (ndr_pull_flags_fn_t) ndr_pull_unixinfo_UidToSid,
+ (ndr_print_function_t) ndr_print_unixinfo_UidToSid,
+ False,
+ },
+ {
+ "unixinfo_SidToGid",
+ sizeof(struct unixinfo_SidToGid),
+ (ndr_push_flags_fn_t) ndr_push_unixinfo_SidToGid,
+ (ndr_pull_flags_fn_t) ndr_pull_unixinfo_SidToGid,
+ (ndr_print_function_t) ndr_print_unixinfo_SidToGid,
+ False,
+ },
+ {
+ "unixinfo_GidToSid",
+ sizeof(struct unixinfo_GidToSid),
+ (ndr_push_flags_fn_t) ndr_push_unixinfo_GidToSid,
+ (ndr_pull_flags_fn_t) ndr_pull_unixinfo_GidToSid,
+ (ndr_print_function_t) ndr_print_unixinfo_GidToSid,
+ False,
+ },
+ {
+ "unixinfo_GetPWUid",
+ sizeof(struct unixinfo_GetPWUid),
+ (ndr_push_flags_fn_t) ndr_push_unixinfo_GetPWUid,
+ (ndr_pull_flags_fn_t) ndr_pull_unixinfo_GetPWUid,
+ (ndr_print_function_t) ndr_print_unixinfo_GetPWUid,
+ False,
+ },
+ { NULL, 0, NULL, NULL, NULL, False }
+};
+
+const char * const unixinfo_endpoint_strings[] = {
+ "ncacn_np:[\\pipe\\unixinfo]",
+ "ncacn_ip_tcp:",
+ "ncalrpc:",
+};
+
+const struct dcerpc_endpoint_list unixinfo_endpoints = {
+ .count = 3,
+ .names = unixinfo_endpoint_strings
+};
+
+const char * const unixinfo_authservice_strings[] = {
+ "host",
+};
+
+const struct dcerpc_authservice_list unixinfo_authservices = {
+ .count = 3,
+ .names = unixinfo_authservice_strings
+};
+
+
+const struct dcerpc_interface_table dcerpc_table_unixinfo = {
+ .name = "unixinfo",
+ .syntax_id = {
+ {0x9c54e310,0xa955,0x4885,{0xbd,0x31},{0x78,0x78,0x71,0x47,0xdf,0xa6}},
+ DCERPC_UNIXINFO_VERSION
+ },
+ .helpstring = DCERPC_UNIXINFO_HELPSTRING,
+ .num_calls = 5,
+ .calls = unixinfo_calls,
+ .endpoints = &unixinfo_endpoints,
+ .authservices = &unixinfo_authservices
+};
+