diff options
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 */ |