summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-31 23:47:26 +0200
committerGünther Deschner <gd@samba.org>2008-04-01 00:26:32 +0200
commitd6426f1f9a044ac9d757c3718c0ce1f556219344 (patch)
treeeb8245581aba742941118d5cea6f9ed5286da1af /source3
parent2a957b38b3af2bd12f8cacbdd8500051d402a8e3 (diff)
downloadsamba-d6426f1f9a044ac9d757c3718c0ce1f556219344.tar.gz
samba-d6426f1f9a044ac9d757c3718c0ce1f556219344.tar.bz2
samba-d6426f1f9a044ac9d757c3718c0ce1f556219344.zip
Re-run make idl.
Guenther (This used to be commit 1b6083449fbc2a252c046a0757c411be64e6b6c0)
Diffstat (limited to 'source3')
-rw-r--r--source3/librpc/gen_ndr/ndr_srvsvc.c12
-rw-r--r--source3/librpc/gen_ndr/srvsvc.h4
2 files changed, 8 insertions, 8 deletions
diff --git a/source3/librpc/gen_ndr/ndr_srvsvc.c b/source3/librpc/gen_ndr/ndr_srvsvc.c
index fbf84abf9e..3e33cc35c8 100644
--- a/source3/librpc/gen_ndr/ndr_srvsvc.c
+++ b/source3/librpc/gen_ndr/ndr_srvsvc.c
@@ -4438,7 +4438,7 @@ static enum ndr_err_code ndr_push_srvsvc_NetShareInfo502(struct ndr_push *ndr, i
NDR_CHECK(ndr_push_srvsvc_ShareType(ndr, NDR_SCALARS, r->type));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->comment));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->permissions));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->max_users));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_users));
NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->current_users));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->path));
NDR_CHECK(ndr_push_unique_ptr(ndr, r->password));
@@ -4510,7 +4510,7 @@ static enum ndr_err_code ndr_pull_srvsvc_NetShareInfo502(struct ndr_pull *ndr, i
r->comment = NULL;
}
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->permissions));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->max_users));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_users));
NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->current_users));
NDR_CHECK(ndr_pull_generic_ptr(ndr, &_ptr_path));
if (_ptr_path) {
@@ -4614,7 +4614,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareInfo502(struct ndr_print *ndr, const char
}
ndr->depth--;
ndr_print_uint32(ndr, "permissions", r->permissions);
- ndr_print_int32(ndr, "max_users", r->max_users);
+ ndr_print_uint32(ndr, "max_users", r->max_users);
ndr_print_uint32(ndr, "current_users", r->current_users);
ndr_print_ptr(ndr, "path", r->path);
ndr->depth++;
@@ -5007,7 +5007,7 @@ static enum ndr_err_code ndr_push_srvsvc_NetShareInfo1006(struct ndr_push *ndr,
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_push_align(ndr, 4));
- NDR_CHECK(ndr_push_int32(ndr, NDR_SCALARS, r->max_users));
+ NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r->max_users));
}
if (ndr_flags & NDR_BUFFERS) {
}
@@ -5018,7 +5018,7 @@ static enum ndr_err_code ndr_pull_srvsvc_NetShareInfo1006(struct ndr_pull *ndr,
{
if (ndr_flags & NDR_SCALARS) {
NDR_CHECK(ndr_pull_align(ndr, 4));
- NDR_CHECK(ndr_pull_int32(ndr, NDR_SCALARS, &r->max_users));
+ NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &r->max_users));
}
if (ndr_flags & NDR_BUFFERS) {
}
@@ -5029,7 +5029,7 @@ _PUBLIC_ void ndr_print_srvsvc_NetShareInfo1006(struct ndr_print *ndr, const cha
{
ndr_print_struct(ndr, name, "srvsvc_NetShareInfo1006");
ndr->depth++;
- ndr_print_int32(ndr, "max_users", r->max_users);
+ ndr_print_uint32(ndr, "max_users", r->max_users);
ndr->depth--;
}
diff --git a/source3/librpc/gen_ndr/srvsvc.h b/source3/librpc/gen_ndr/srvsvc.h
index f619dba73f..2d03e7da70 100644
--- a/source3/librpc/gen_ndr/srvsvc.h
+++ b/source3/librpc/gen_ndr/srvsvc.h
@@ -310,7 +310,7 @@ struct srvsvc_NetShareInfo502 {
enum srvsvc_ShareType type;
const char *comment;/* [unique,charset(UTF16)] */
uint32_t permissions;
- int32_t max_users;
+ uint32_t max_users;
uint32_t current_users;
const char *path;/* [unique,charset(UTF16)] */
const char *password;/* [unique,charset(UTF16)] */
@@ -346,7 +346,7 @@ struct srvsvc_NetShareCtr1005 {
};
struct srvsvc_NetShareInfo1006 {
- int32_t max_users;
+ uint32_t max_users;
};
struct srvsvc_NetShareCtr1006 {