summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_unixinfo.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-08 18:07:55 +0100
committerGünther Deschner <gd@samba.org>2008-01-08 18:08:15 +0100
commit791fe3119ef1756fc476b17b8c590241bee5de2e (patch)
tree606c1d57a176c795bb00ef987fd290b4a08a9b90 /source3/librpc/gen_ndr/cli_unixinfo.c
parentbfab6ab14bd2ba69fde8bbe32f56f308010c8ea7 (diff)
downloadsamba-791fe3119ef1756fc476b17b8c590241bee5de2e.tar.gz
samba-791fe3119ef1756fc476b17b8c590241bee5de2e.tar.bz2
samba-791fe3119ef1756fc476b17b8c590241bee5de2e.zip
Pedantic cosmetics: rerun make idl.
Guenther (This used to be commit d1fa8049b1c0a3cebbc2c64e245e8055c8d3e84b)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_unixinfo.c')
-rw-r--r--source3/librpc/gen_ndr/cli_unixinfo.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/source3/librpc/gen_ndr/cli_unixinfo.c b/source3/librpc/gen_ndr/cli_unixinfo.c
index 4a48ac2c43..c8b9a01f3d 100644
--- a/source3/librpc/gen_ndr/cli_unixinfo.c
+++ b/source3/librpc/gen_ndr/cli_unixinfo.c
@@ -10,29 +10,29 @@ NTSTATUS rpccli_unixinfo_SidToUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
{
struct unixinfo_SidToUid r;
NTSTATUS status;
-
+
/* In parameters */
r.in.sid = sid;
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_SidToUid, &r);
-
+
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOUID, &r);
-
+
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(unixinfo_SidToUid, &r);
-
+
if (NT_STATUS_IS_ERR(status)) {
return status;
}
-
+
/* Return variables */
*uid = *r.out.uid;
-
+
/* Return result */
return r.out.result;
}
@@ -41,29 +41,29 @@ NTSTATUS rpccli_unixinfo_UidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
{
struct unixinfo_UidToSid r;
NTSTATUS status;
-
+
/* In parameters */
r.in.uid = uid;
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_UidToSid, &r);
-
+
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_UIDTOSID, &r);
-
+
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(unixinfo_UidToSid, &r);
-
+
if (NT_STATUS_IS_ERR(status)) {
return status;
}
-
+
/* Return variables */
*sid = *r.out.sid;
-
+
/* Return result */
return r.out.result;
}
@@ -72,29 +72,29 @@ NTSTATUS rpccli_unixinfo_SidToGid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
{
struct unixinfo_SidToGid r;
NTSTATUS status;
-
+
/* In parameters */
r.in.sid = sid;
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_SidToGid, &r);
-
+
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_SIDTOGID, &r);
-
+
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(unixinfo_SidToGid, &r);
-
+
if (NT_STATUS_IS_ERR(status)) {
return status;
}
-
+
/* Return variables */
*gid = *r.out.gid;
-
+
/* Return result */
return r.out.result;
}
@@ -103,29 +103,29 @@ NTSTATUS rpccli_unixinfo_GidToSid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
{
struct unixinfo_GidToSid r;
NTSTATUS status;
-
+
/* In parameters */
r.in.gid = gid;
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_GidToSid, &r);
-
+
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GIDTOSID, &r);
-
+
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(unixinfo_GidToSid, &r);
-
+
if (NT_STATUS_IS_ERR(status)) {
return status;
}
-
+
/* Return variables */
*sid = *r.out.sid;
-
+
/* Return result */
return r.out.result;
}
@@ -134,31 +134,31 @@ NTSTATUS rpccli_unixinfo_GetPWUid(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c
{
struct unixinfo_GetPWUid r;
NTSTATUS status;
-
+
/* In parameters */
r.in.count = count;
r.in.uids = uids;
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_IN_DEBUG(unixinfo_GetPWUid, &r);
-
+
status = cli_do_rpc_ndr(cli, mem_ctx, PI_UNIXINFO, &ndr_table_unixinfo, NDR_UNIXINFO_GETPWUID, &r);
-
+
if (!NT_STATUS_IS_OK(status)) {
return status;
}
-
+
if (DEBUGLEVEL >= 10)
NDR_PRINT_OUT_DEBUG(unixinfo_GetPWUid, &r);
-
+
if (NT_STATUS_IS_ERR(status)) {
return status;
}
-
+
/* Return variables */
*count = *r.out.count;
memcpy(infos, r.out.infos, *r.in.count);
-
+
/* Return result */
return r.out.result;
}