diff options
author | Günther Deschner <gd@samba.org> | 2008-04-08 02:26:21 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-08 03:08:49 +0200 |
commit | 6e379f5db93289e129737b90d09653881ab0c658 (patch) | |
tree | 6f206b2c73ac4a0bc16173088255f1b1ebbc9b33 /source3/librpc/gen_ndr/libnetapi.h | |
parent | ec0a34864ec8f77cf90c9d52b022293949253e55 (diff) | |
download | samba-6e379f5db93289e129737b90d09653881ab0c658.tar.gz samba-6e379f5db93289e129737b90d09653881ab0c658.tar.xz samba-6e379f5db93289e129737b90d09653881ab0c658.zip |
Add libnetapi generated files.
Guenther
(This used to be commit 78da087b3a04f25bd0ea3195debf5c46731bac74)
Diffstat (limited to 'source3/librpc/gen_ndr/libnetapi.h')
-rw-r--r-- | source3/librpc/gen_ndr/libnetapi.h | 140 |
1 files changed, 140 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/libnetapi.h b/source3/librpc/gen_ndr/libnetapi.h new file mode 100644 index 0000000000..8247e9e64f --- /dev/null +++ b/source3/librpc/gen_ndr/libnetapi.h @@ -0,0 +1,140 @@ +/* header auto-generated by pidl */ + +#include <stdint.h> + +#define LIBNETAPI_LOCAL_SERVER(x) (!x || is_myname_or_ipaddr(x)) +#ifndef _HEADER_libnetapi +#define _HEADER_libnetapi + +enum NET_API_STATUS +#ifndef USE_UINT_ENUMS + { + NERR_Success=0 +} +#else + { __donnot_use_enum_NET_API_STATUS=0x7FFFFFFF} +#define NERR_Success ( 0 ) +#endif +; + + +struct NetJoinDomain { + struct { + const char * server;/* [unique] */ + const char * domain;/* [ref] */ + const char * account_ou;/* [unique] */ + const char * account;/* [unique] */ + const char * password;/* [unique] */ + uint32_t join_flags; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + + +struct NetUnjoinDomain { + struct { + const char * server_name;/* [unique] */ + const char * account;/* [unique] */ + const char * password;/* [unique] */ + uint32_t unjoin_flags; + } in; + + struct { + enum NET_API_STATUS result; + } out; + +}; + + +struct NetGetJoinInformation { + struct { + const char * server_name;/* [unique] */ + } in; + + struct { + const char * *name_buffer;/* [ref] */ + uint16_t *name_type;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + +struct NetGetJoinableOUs { + struct { + const char * server_name;/* [unique] */ + const char * domain;/* [ref] */ + const char * account;/* [unique] */ + const char * password;/* [unique] */ + } in; + + struct { + uint32_t *ou_count;/* [ref] */ + const char * **ous;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + +struct NetServerGetInfo { + struct { + const char * server_name;/* [unique] */ + uint32_t level; + } in; + + struct { + uint8_t **buffer;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + +struct NetServerSetInfo { + struct { + const char * server_name;/* [unique] */ + uint32_t level; + uint8_t *buffer;/* [ref] */ + } in; + + struct { + uint32_t *parm_error;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + +struct NetGetDCName { + struct { + const char * server_name;/* [unique] */ + const char * domain_name;/* [unique] */ + } in; + + struct { + uint8_t **buffer;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + + +struct NetGetAnyDCName { + struct { + const char * server_name;/* [unique] */ + const char * domain_name;/* [unique] */ + } in; + + struct { + uint8_t **buffer;/* [ref] */ + enum NET_API_STATUS result; + } out; + +}; + +#endif /* _HEADER_libnetapi */ |