1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-11 17:58:16 +03:00

re-run make idl.

Guenther
(This used to be commit 1ae9ae839e2f9032bb30db377e0022112dee2419)
This commit is contained in:
Günther Deschner 2008-07-01 20:10:00 +02:00
parent 91adc283cb
commit 27897dbebd
3 changed files with 83 additions and 10 deletions

View File

@ -395,6 +395,25 @@ struct NetGroupDel {
};
struct NetGroupEnum {
struct {
const char * server_name;
uint32_t level;
uint32_t prefmaxlen;
uint32_t *resume_handle;/* [ref] */
} in;
struct {
uint8_t **buffer;/* [ref] */
uint32_t *entries_read;/* [ref] */
uint32_t *total_entries;/* [ref] */
uint32_t *resume_handle;/* [ref] */
enum NET_API_STATUS result;
} out;
};
struct NetGroupSetInfo {
struct {
const char * server_name;

View File

@ -1018,6 +1018,55 @@ _PUBLIC_ void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int
ndr->depth--;
}
_PUBLIC_ void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r)
{
ndr_print_struct(ndr, name, "NetGroupEnum");
ndr->depth++;
if (flags & NDR_SET_VALUES) {
ndr->flags |= LIBNDR_PRINT_SET_VALUES;
}
if (flags & NDR_IN) {
ndr_print_struct(ndr, "in", "NetGroupEnum");
ndr->depth++;
ndr_print_string(ndr, "server_name", r->in.server_name);
ndr_print_uint32(ndr, "level", r->in.level);
ndr_print_uint32(ndr, "prefmaxlen", r->in.prefmaxlen);
ndr_print_ptr(ndr, "resume_handle", r->in.resume_handle);
ndr->depth++;
ndr_print_uint32(ndr, "resume_handle", *r->in.resume_handle);
ndr->depth--;
ndr->depth--;
}
if (flags & NDR_OUT) {
ndr_print_struct(ndr, "out", "NetGroupEnum");
ndr->depth++;
ndr_print_ptr(ndr, "buffer", r->out.buffer);
ndr->depth++;
ndr_print_ptr(ndr, "buffer", *r->out.buffer);
ndr->depth++;
if (*r->out.buffer) {
ndr_print_uint8(ndr, "buffer", **r->out.buffer);
}
ndr->depth--;
ndr->depth--;
ndr_print_ptr(ndr, "entries_read", r->out.entries_read);
ndr->depth++;
ndr_print_uint32(ndr, "entries_read", *r->out.entries_read);
ndr->depth--;
ndr_print_ptr(ndr, "total_entries", r->out.total_entries);
ndr->depth++;
ndr_print_uint32(ndr, "total_entries", *r->out.total_entries);
ndr->depth--;
ndr_print_ptr(ndr, "resume_handle", r->out.resume_handle);
ndr->depth++;
ndr_print_uint32(ndr, "resume_handle", *r->out.resume_handle);
ndr->depth--;
ndr_print_NET_API_STATUS(ndr, "result", r->out.result);
ndr->depth--;
}
ndr->depth--;
}
_PUBLIC_ void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r)
{
ndr_print_struct(ndr, name, "NetGroupSetInfo");

View File

@ -38,25 +38,27 @@
#define NDR_NETGROUPDEL (0x0f)
#define NDR_NETGROUPSETINFO (0x10)
#define NDR_NETGROUPENUM (0x10)
#define NDR_NETGROUPGETINFO (0x11)
#define NDR_NETGROUPSETINFO (0x11)
#define NDR_NETGROUPADDUSER (0x12)
#define NDR_NETGROUPGETINFO (0x12)
#define NDR_NETGROUPDELUSER (0x13)
#define NDR_NETGROUPADDUSER (0x13)
#define NDR_NETLOCALGROUPADD (0x14)
#define NDR_NETGROUPDELUSER (0x14)
#define NDR_NETLOCALGROUPDEL (0x15)
#define NDR_NETLOCALGROUPADD (0x15)
#define NDR_NETLOCALGROUPGETINFO (0x16)
#define NDR_NETLOCALGROUPDEL (0x16)
#define NDR_NETLOCALGROUPSETINFO (0x17)
#define NDR_NETLOCALGROUPGETINFO (0x17)
#define NDR_NETREMOTETOD (0x18)
#define NDR_NETLOCALGROUPSETINFO (0x18)
#define NDR_LIBNETAPI_CALL_COUNT (25)
#define NDR_NETREMOTETOD (0x19)
#define NDR_LIBNETAPI_CALL_COUNT (26)
enum ndr_err_code ndr_push_NET_API_STATUS(struct ndr_push *ndr, int ndr_flags, enum NET_API_STATUS r);
enum ndr_err_code ndr_pull_NET_API_STATUS(struct ndr_pull *ndr, int ndr_flags, enum NET_API_STATUS *r);
void ndr_print_NET_API_STATUS(struct ndr_print *ndr, const char *name, enum NET_API_STATUS r);
@ -132,6 +134,9 @@ void ndr_print_NetGroupAdd(struct ndr_print *ndr, const char *name, int flags, c
enum ndr_err_code ndr_push_NetGroupDel(struct ndr_push *ndr, int flags, const struct NetGroupDel *r);
enum ndr_err_code ndr_pull_NetGroupDel(struct ndr_pull *ndr, int flags, struct NetGroupDel *r);
void ndr_print_NetGroupDel(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupDel *r);
enum ndr_err_code ndr_push_NetGroupEnum(struct ndr_push *ndr, int flags, const struct NetGroupEnum *r);
enum ndr_err_code ndr_pull_NetGroupEnum(struct ndr_pull *ndr, int flags, struct NetGroupEnum *r);
void ndr_print_NetGroupEnum(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupEnum *r);
enum ndr_err_code ndr_push_NetGroupSetInfo(struct ndr_push *ndr, int flags, const struct NetGroupSetInfo *r);
enum ndr_err_code ndr_pull_NetGroupSetInfo(struct ndr_pull *ndr, int flags, struct NetGroupSetInfo *r);
void ndr_print_NetGroupSetInfo(struct ndr_print *ndr, const char *name, int flags, const struct NetGroupSetInfo *r);