diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-12-17 07:17:54 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-12-17 07:17:54 +1100 |
commit | 1b3a084d60cc0004f84bc56dedbe1d87cda2a8b3 (patch) | |
tree | cee337a9c93890605fb12490faec2a7f0b2188d8 /librpc/gen_ndr/cli_wkssvc.h | |
parent | e294c4799bf6ad8da043aadf8341391644147056 (diff) | |
parent | 54dc421f5820099531a77879f52a904c2fefcf49 (diff) | |
download | samba-1b3a084d60cc0004f84bc56dedbe1d87cda2a8b3.tar.gz samba-1b3a084d60cc0004f84bc56dedbe1d87cda2a8b3.tar.bz2 samba-1b3a084d60cc0004f84bc56dedbe1d87cda2a8b3.zip |
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'librpc/gen_ndr/cli_wkssvc.h')
-rw-r--r-- | librpc/gen_ndr/cli_wkssvc.h | 230 |
1 files changed, 230 insertions, 0 deletions
diff --git a/librpc/gen_ndr/cli_wkssvc.h b/librpc/gen_ndr/cli_wkssvc.h new file mode 100644 index 0000000000..2427099f0e --- /dev/null +++ b/librpc/gen_ndr/cli_wkssvc.h @@ -0,0 +1,230 @@ +#include "../librpc/gen_ndr/ndr_wkssvc.h" +#ifndef __CLI_WKSSVC__ +#define __CLI_WKSSVC__ +NTSTATUS rpccli_wkssvc_NetWkstaGetInfo(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetWkstaInfo *info /* [out] [ref,switch_is(level)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetWkstaSetInfo(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetWkstaInfo *info /* [in] [ref,switch_is(level)] */, + uint32_t *parm_error /* [in,out] [ref] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetWkstaEnumUsers(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + struct wkssvc_NetWkstaEnumUsersInfo *info /* [in,out] [ref] */, + uint32_t prefmaxlen /* [in] */, + uint32_t *entries_read /* [out] [ref] */, + uint32_t *resume_handle /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrWkstaUserGetInfo(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *unknown /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetrWkstaUserInfo *info /* [out] [ref,switch_is(level)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrWkstaUserSetInfo(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *unknown /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetrWkstaUserInfo *info /* [in] [ref,switch_is(level)] */, + uint32_t *parm_err /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetWkstaTransportEnum(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + struct wkssvc_NetWkstaTransportInfo *info /* [in,out] [ref] */, + uint32_t max_buffer /* [in] */, + uint32_t *total_entries /* [out] [ref] */, + uint32_t *resume_handle /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrWkstaTransportAdd(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + struct wkssvc_NetWkstaTransportInfo0 *info0 /* [in] [ref] */, + uint32_t *parm_err /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrWkstaTransportDel(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *transport_name /* [in] [unique,charset(UTF16)] */, + uint32_t unknown3 /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUseAdd(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetrUseGetInfoCtr *ctr /* [in] [ref,switch_is(level)] */, + uint32_t *parm_err /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUseGetInfo(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *use_name /* [in] [ref,charset(UTF16)] */, + uint32_t level /* [in] */, + union wkssvc_NetrUseGetInfoCtr *ctr /* [out] [ref,switch_is(level)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUseDel(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *use_name /* [in] [ref,charset(UTF16)] */, + uint32_t force_cond /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUseEnum(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + struct wkssvc_NetrUseEnumInfo *info /* [in,out] [ref] */, + uint32_t prefmaxlen /* [in] */, + uint32_t *entries_read /* [out] [ref] */, + uint32_t *resume_handle /* [in,out] [unique] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrMessageBufferSend(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *message_name /* [in] [ref,charset(UTF16)] */, + const char *message_sender_name /* [in] [unique,charset(UTF16)] */, + uint8_t *message_buffer /* [in] [ref,size_is(message_size)] */, + uint32_t message_size /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrWorkstationStatisticsGet(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *unknown2 /* [in] [unique,charset(UTF16)] */, + uint32_t unknown3 /* [in] */, + uint32_t unknown4 /* [in] */, + struct wkssvc_NetrWorkstationStatistics **info /* [out] [ref] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrLogonDomainNameAdd(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrLogonDomainNameDel(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrJoinDomain(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + const char *account_ou /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + const char *password /* [in] [unique,charset(UTF16)] */, + uint32_t join_flags /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUnjoinDomain(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + const char *password /* [in] [unique,charset(UTF16)] */, + uint32_t unjoin_flags /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *NewMachineName /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + const char *password /* [in] [unique,charset(UTF16)] */, + uint32_t RenameOptions /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrValidateName(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *name /* [in] [ref,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + const char *Password /* [in] [unique,charset(UTF16)] */, + enum wkssvc_NetValidateNameType name_type /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrGetJoinInformation(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char **name_buffer /* [in,out] [ref,charset(UTF16)] */, + enum wkssvc_NetJoinStatus *name_type /* [out] [ref] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrGetJoinableOus(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + const char *unknown /* [in] [unique,charset(UTF16)] */, + uint32_t *num_ous /* [in,out] [ref] */, + const char ***ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrJoinDomain2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + const char *account_ou /* [in] [unique,charset(UTF16)] */, + const char *admin_account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *encrypted_password /* [in] [unique] */, + uint32_t join_flags /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrUnjoinDomain2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *encrypted_password /* [in] [unique] */, + uint32_t unjoin_flags /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrRenameMachineInDomain2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *NewMachineName /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + uint32_t RenameOptions /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrValidateName2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *name /* [in] [ref,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + enum wkssvc_NetValidateNameType name_type /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrGetJoinableOus2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *domain_name /* [in] [ref,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + uint32_t *num_ous /* [in,out] [ref] */, + const char ***ous /* [out] [ref,charset(UTF16),size_is(,*num_ous)] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrAddAlternateComputerName(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *NewAlternateMachineName /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + uint32_t Reserved /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrRemoveAlternateComputerName(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *AlternateMachineNameToRemove /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + uint32_t Reserved /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrSetPrimaryComputername(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + const char *primary_name /* [in] [unique,charset(UTF16)] */, + const char *Account /* [in] [unique,charset(UTF16)] */, + struct wkssvc_PasswordBuffer *EncryptedPassword /* [in] [unique] */, + uint32_t Reserved /* [in] */, + WERROR *werror); +NTSTATUS rpccli_wkssvc_NetrEnumerateComputerNames(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *server_name /* [in] [unique,charset(UTF16)] */, + enum wkssvc_ComputerNameType name_type /* [in] */, + uint32_t Reserved /* [in] */, + struct wkssvc_ComputerNamesCtr **ctr /* [out] [ref] */, + WERROR *werror); +#endif /* __CLI_WKSSVC__ */ |