/illumos-gate/usr/src/lib/smbsrv/libmlrpc/common/ |
H A D | ndr_client.c | 46 ndr_xa_t mxa; local 53 bzero(&mxa, sizeof (mxa)); 59 mxa.binding_list = clnt->binding_list; 60 if ((mbind = ndr_svc_new_binding(&mxa)) == NULL) 63 ndr_clnt_init_hdr(clnt, &mxa); 65 bhdr = &mxa.send_hdr.bind_hdr; 93 if ((*clnt->xa_init)(clnt, &mxa) < 0) 96 rc = ndr_encode_pdu_hdr(&mxa); 100 if ((*clnt->xa_exchange)(clnt, &mxa) < 144 ndr_xa_t mxa; local 247 ndr_clnt_init_hdr(ndr_client_t *clnt, ndr_xa_t *mxa) argument 275 ndr_clnt_get_frags(ndr_client_t *clnt, ndr_xa_t *mxa) argument 309 ndr_clnt_get_frag(ndr_client_t *clnt, ndr_xa_t *mxa, ndr_common_header_t *hdr) argument [all...] |
H A D | ndr_server.c | 55 static int ndr_recv_request(ndr_xa_t *mxa); 56 static int ndr_recv_frag(ndr_xa_t *mxa); 67 ndr_xa_t *mxa; local 73 if ((mxa = malloc(sizeof (*mxa))) == NULL) 77 bzero(mxa, sizeof (*mxa)); 78 rc = ndr_pipe_process(np, mxa); 81 free(mxa); 94 ndr_pipe_process(ndr_pipe_t *np, ndr_xa_t *mxa) argument 175 ndr_recv_request(ndr_xa_t *mxa) argument 224 ndr_recv_frag(ndr_xa_t *mxa) argument 280 ndr_svc_process(ndr_xa_t *mxa) argument 315 ndr_svc_bind(ndr_xa_t *mxa) argument 435 ndr_svc_alter_context(ndr_xa_t *mxa) argument 502 ndr_svc_request(ndr_xa_t *mxa) argument 542 ndr_generic_call_stub(ndr_xa_t *mxa) argument 586 ndr_reply_prepare_hdr(ndr_xa_t *mxa) argument 674 ndr_reply_fault(ndr_xa_t *mxa, unsigned long drc) argument 732 ndr_send_reply(ndr_xa_t *mxa) argument [all...] |
H A D | ndr_marshal.c | 181 ndr_decode_call(ndr_xa_t *mxa, void *params) argument 183 ndr_stream_t *nds = &mxa->recv_nds; 189 rc = ndr_encode_decode_common(nds, mxa->opnum, 190 mxa->binding->service->interface_ti, params); 199 ndr_encode_return(ndr_xa_t *mxa, void *params) argument 201 ndr_stream_t *nds = &mxa->send_nds; 207 rc = ndr_encode_decode_common(nds, mxa->opnum, 208 mxa->binding->service->interface_ti, params); 217 ndr_encode_call(ndr_xa_t *mxa, void *params) argument 219 ndr_stream_t *nds = &mxa 235 ndr_decode_return(ndr_xa_t *mxa, void *params) argument 250 ndr_decode_pdu_hdr(ndr_xa_t *mxa) argument 451 ndr_encode_pdu_hdr(ndr_xa_t *mxa) argument 550 ndr_bind_ack_hdr_size(ndr_xa_t *mxa) argument [all...] |
H A D | ndr_svc.c | 405 ndr_svc_find_binding(ndr_xa_t *mxa, ndr_p_context_id_t p_cont_id) argument 409 for (mbind = mxa->binding_list; mbind; mbind = mbind->next) { 420 ndr_svc_new_binding(ndr_xa_t *mxa) argument 424 for (mbind = mxa->binding_list; mbind; mbind = mbind->next) {
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | lsar_svc.c | 55 static int lsarpc_call_stub(ndr_xa_t *mxa); 147 lsarpc_call_stub(ndr_xa_t *mxa) argument 149 NDS_SETF(&mxa->send_nds, NDS_F_NOTERM); 150 NDS_SETF(&mxa->recv_nds, NDS_F_NOTERM); 152 return (ndr_generic_call_stub(mxa)); 162 lsarpc_s_OpenDomainHandle(void *arg, ndr_xa_t *mxa) argument 167 if ((id = ndr_hdalloc(mxa, &lsarpc_key_domain)) != NULL) { 187 lsarpc_s_CloseHandle(void *arg, ndr_xa_t *mxa) argument 192 ndr_hdfree(mxa, id); 204 lsarpc_s_QuerySecurityObject(void *arg, ndr_xa_t *mxa) argument 230 lsarpc_s_EnumAccounts(void *arg, ndr_xa_t *mxa) argument 266 lsarpc_s_EnumTrustedDomain(void *arg, ndr_xa_t *mxa) argument 301 lsarpc_s_EnumTrustedDomainsEx(void *arg, ndr_xa_t *mxa) argument 326 lsarpc_s_OpenAccount(void *arg, ndr_xa_t *mxa) argument 362 lsarpc_s_EnumPrivsAccount(void *arg, ndr_xa_t *mxa) argument 379 lsarpc_s_LookupPrivValue(void *arg, ndr_xa_t *mxa) argument 403 lsarpc_s_LookupPrivName(void *arg, ndr_xa_t *mxa) argument 441 lsarpc_s_LookupPrivDisplayName(void *arg, ndr_xa_t *mxa) argument 474 lsarpc_s_CreateSecret(void *arg, ndr_xa_t *mxa) argument 493 lsarpc_s_OpenSecret(void *arg, ndr_xa_t *mxa) argument 520 lsarpc_s_GetConnectedUser(void *arg, ndr_xa_t *mxa) argument 566 lsarpc_s_QueryInfoPolicy(void *arg, ndr_xa_t *mxa) argument 632 lsarpc_s_PrimaryDomainInfo(struct mslsa_PrimaryDomainInfo *info, ndr_xa_t *mxa) argument 670 lsarpc_s_AccountDomainInfo(struct mslsa_AccountDomainInfo *info, ndr_xa_t *mxa) argument 699 lsarpc_s_LookupNames(void *arg, ndr_xa_t *mxa) argument 786 lsarpc_s_LookupSids(void *arg, ndr_xa_t *mxa) argument 880 lsarpc_s_UpdateDomainTable(ndr_xa_t *mxa, smb_account_t *account, struct mslsa_domain_table *domain_table, DWORD *domain_idx) argument 938 lsarpc_s_LookupSids2(void *arg, ndr_xa_t *mxa) argument 1028 lsarpc_s_LookupSids3(void *arg, ndr_xa_t *mxa) argument 1047 lsarpc_s_LookupNames2(void *arg, ndr_xa_t *mxa) argument 1132 lsarpc_s_LookupNames3(void *arg, ndr_xa_t *mxa) argument 1215 lsarpc_s_LookupNames4(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | dssetup_svc.c | 104 dssetup_DsRoleGetPrimaryDomainInfo(void *arg, ndr_xa_t *mxa) argument 112 info = NDR_MALLOC(mxa, sizeof (dssetup_GetPrimaryDomainInfo_t)); 124 status = dssetup_member_server(info1, mxa); 126 status = dssetup_standalone_server(info1, mxa); 150 dssetup_member_server(ds_primary_domain_info_t *info, ndr_xa_t *mxa) argument 170 info->nt_domain = NDR_STRDUP(mxa, (char *)ds_info.nt_domain); 171 info->dns_domain = NDR_STRDUP(mxa, (char *)ds_info.dns_domain); 172 info->forest = NDR_STRDUP(mxa, (char *)ds_info.forest); 189 info->nt_domain = NDR_STRDUP(mxa, nt_domain); 190 info->dns_domain = NDR_STRDUP(mxa, dns_domai 216 dssetup_standalone_server(ds_primary_domain_info_t *info, ndr_xa_t *mxa) argument [all...] |
H A D | svcctl_svc.c | 150 svcctl_hdlookup(ndr_xa_t *mxa, ndr_hdid_t *id, svcctl_context_type_t type) argument 155 if ((hd = ndr_hdlookup(mxa, id)) == NULL) 173 svcctl_hdfree(ndr_xa_t *mxa, ndr_hdid_t *id) argument 180 if ((hd = ndr_hdlookup(mxa, id)) != NULL) { 203 ndr_hdfree(mxa, id); 213 svcctl_mgr_hdalloc(ndr_xa_t *mxa) argument 243 return (ndr_hdalloc(mxa, ctx)); 252 svcctl_get_mgr_ctx(ndr_xa_t *mxa, ndr_hdid_t *mgr_id) argument 257 hd = svcctl_hdlookup(mxa, mgr_id, SVCCTL_MANAGER_CONTEXT); 272 svcctl_svc_hdalloc(ndr_xa_t *mxa, ndr_hdid_ argument 331 svcctl_s_Close(void *arg, ndr_xa_t *mxa) argument 347 svcctl_s_ControlService(void *arg, ndr_xa_t *mxa) argument 412 svcctl_s_DeleteService(void *arg, ndr_xa_t *mxa) argument 432 svcctl_s_QueryServiceSecurity(void *arg, ndr_xa_t *mxa) argument 485 svcctl_s_SetServiceSecurity(void *arg, ndr_xa_t *mxa) argument 520 svcctl_s_OpenManager(void *arg, ndr_xa_t *mxa) argument 558 svcctl_s_OpenService(void *arg, ndr_xa_t *mxa) argument 614 svcctl_s_QueryServiceStatus(void *arg, ndr_xa_t *mxa) argument 663 svcctl_s_EnumDependentServices(void *arg, ndr_xa_t *mxa) argument 743 svcctl_s_EnumServicesStatus(void *arg, ndr_xa_t *mxa) argument 820 svcctl_s_QueryServiceConfig(void *arg, ndr_xa_t *mxa) argument 887 svcctl_s_StartService(void *arg, ndr_xa_t *mxa) argument 927 svcctl_s_GetServiceDisplayNameW(void *arg, ndr_xa_t *mxa) argument 974 svcctl_s_GetServiceKeyNameW(void *arg, ndr_xa_t *mxa) argument 1026 svcctl_s_OpenSCManagerA(void *arg, ndr_xa_t *mxa) argument 1064 svcctl_s_OpenServiceA(void *arg, ndr_xa_t *mxa) argument 1118 svcctl_s_EnumServicesStatusA(void *arg, ndr_xa_t *mxa) argument 1188 svcctl_s_QueryServiceConfig2W(void *arg, ndr_xa_t *mxa) argument 1302 svcctl_s_QueryServiceStatusEx(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | winreg_svc.c | 255 winreg_s_OpenHKCR(void *arg, ndr_xa_t *mxa) argument 257 return (winreg_s_OpenHK(arg, mxa, "HKCR")); 261 winreg_s_OpenHKCU(void *arg, ndr_xa_t *mxa) argument 263 return (winreg_s_OpenHK(arg, mxa, "HKCU")); 267 winreg_s_OpenHKLM(void *arg, ndr_xa_t *mxa) argument 269 return (winreg_s_OpenHK(arg, mxa, "HKLM")); 273 winreg_s_OpenHKPD(void *arg, ndr_xa_t *mxa) argument 275 return (winreg_s_OpenHK(arg, mxa, "HKPD")); 279 winreg_s_OpenHKU(void *arg, ndr_xa_t *mxa) argument 281 return (winreg_s_OpenHK(arg, mxa, "HK 285 winreg_s_OpenHKCC(void *arg, ndr_xa_t *mxa) argument 291 winreg_s_OpenHKDD(void *arg, ndr_xa_t *mxa) argument 297 winreg_s_OpenHKPT(void *arg, ndr_xa_t *mxa) argument 303 winreg_s_OpenHKPN(void *arg, ndr_xa_t *mxa) argument 314 winreg_s_OpenHK(void *arg, ndr_xa_t *mxa, const char *hkey) argument 342 winreg_s_Close(void *arg, ndr_xa_t *mxa) argument 357 winreg_alloc_id(ndr_xa_t *mxa, const char *key) argument 378 winreg_dealloc_id(ndr_xa_t *mxa, ndr_hdid_t *id) argument 394 winreg_s_CreateKey(void *arg, ndr_xa_t *mxa) argument 485 winreg_s_DeleteKey(void *arg, ndr_xa_t *mxa) argument 566 winreg_enum_subkey(ndr_xa_t *mxa, const char *subkey, uint32_t index) argument 620 winreg_s_DeleteValue(void *arg, ndr_xa_t *mxa) argument 632 winreg_s_EnumKey(void *arg, ndr_xa_t *mxa) argument 681 winreg_s_EnumValue(void *arg, ndr_xa_t *mxa) argument 703 winreg_s_FlushKey(void *arg, ndr_xa_t *mxa) argument 720 winreg_s_GetKeySec(void *arg, ndr_xa_t *mxa) argument 788 winreg_s_NotifyChange(void *arg, ndr_xa_t *mxa) argument 811 winreg_s_OpenKey(void *arg, ndr_xa_t *mxa) argument 866 winreg_s_QueryKey(void *arg, ndr_xa_t *mxa) argument 899 winreg_s_QueryValue(void *arg, ndr_xa_t *mxa) argument 994 winreg_s_SetKeySec(void *arg, ndr_xa_t *mxa) argument 1007 winreg_s_CreateValue(void *arg, ndr_xa_t *mxa) argument 1022 winreg_s_Shutdown(void *arg, ndr_xa_t *mxa) argument 1036 winreg_s_AbortShutdown(void *arg, ndr_xa_t *mxa) argument 1057 winreg_s_GetVersion(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | netdfs.c | 169 netdfs_s_getver(void *arg, ndr_xa_t *mxa) argument 184 netdfs_s_add(void *arg, ndr_xa_t *mxa) argument 193 if (!ndr_is_admin(mxa)) { 256 netdfs_s_remove(void *arg, ndr_xa_t *mxa) argument 264 if (!ndr_is_admin(mxa)) { 316 netdfs_s_setinfo(void *arg, ndr_xa_t *mxa) argument 386 netdfs_s_getinfo(void *arg, ndr_xa_t *mxa) argument 435 if ((info1 = NDR_NEW(mxa, netdfs_info1_t)) != NULL) { 437 status = netdfs_info_1(info1, &info, mxa, NULL); 441 if ((info2 = NDR_NEW(mxa, netdfs_info2_ 507 netdfs_s_enum(void *arg, ndr_xa_t *mxa) argument 670 netdfs_s_move(void *arg, ndr_xa_t *mxa) argument 684 netdfs_s_rename(void *arg, ndr_xa_t *mxa) argument 699 netdfs_s_addstdroot(void *arg, ndr_xa_t *mxa) argument 729 netdfs_s_remstdroot(void *arg, ndr_xa_t *mxa) argument 756 netdfs_s_enumex(void *arg, ndr_xa_t *mxa) argument 937 netdfs_info_storage(netdfs_storage_info_t **sinfo, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 977 netdfs_info_storage1(netdfs_storage_info1_t **sinfo, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1020 netdfs_info_1(netdfs_info1_t *info1, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1038 netdfs_info_2(netdfs_info2_t *info2, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1067 netdfs_info_3(netdfs_info3_t *info3, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1096 netdfs_info_4(netdfs_info4_t *info4, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1129 netdfs_info_5(netdfs_info5_t *info5, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1164 netdfs_info_6(netdfs_info6_t *info6, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1199 netdfs_info_100(netdfs_info100_t *info100, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1217 netdfs_info_300(netdfs_info300_t *info300, dfs_info_t *info, ndr_xa_t *mxa, uint32_t *size) argument 1236 netdfs_enum_common(netdfs_enumhandle_t *de, ndr_xa_t *mxa) argument [all...] |
H A D | samr_svc.c | 105 static int samr_call_stub(ndr_xa_t *mxa); 143 samr_call_stub(ndr_xa_t *mxa) argument 145 NDS_SETF(&mxa->send_nds, NDS_F_NOTERM); 146 NDS_SETF(&mxa->recv_nds, NDS_F_NOTERM); 148 return (ndr_generic_call_stub(mxa)); 155 samr_hdalloc(ndr_xa_t *mxa, samr_key_t key, smb_domain_type_t domain_type, argument 169 if ((id = ndr_hdalloc(mxa, data)) == NULL) { 174 if ((hd = ndr_hdlookup(mxa, id)) != NULL) 184 samr_hdfree(ndr_xa_t *mxa, ndr_hdid_t *id) argument 188 if ((hd = ndr_hdlookup(mxa, i 199 samr_hdlookup(ndr_xa_t *mxa, ndr_hdid_t *id, samr_key_t key) argument 227 samr_s_Connect(void *arg, ndr_xa_t *mxa) argument 251 samr_s_CloseHandle(void *arg, ndr_xa_t *mxa) argument 272 samr_s_LookupDomain(void *arg, ndr_xa_t *mxa) argument 309 samr_s_EnumLocalDomains(void *arg, ndr_xa_t *mxa) argument 345 samr_s_enum_local_domains(struct samr_EnumLocalDomain *param, ndr_xa_t *mxa) argument 385 samr_s_OpenDomain(void *arg, ndr_xa_t *mxa) argument 433 samr_s_QueryDomainInfo(void *arg, ndr_xa_t *mxa) argument 539 samr_s_QueryInfoDomain2(void *arg, ndr_xa_t *mxa) argument 552 samr_s_LookupNames(void *arg, ndr_xa_t *mxa) argument 636 samr_s_OpenUser(void *arg, ndr_xa_t *mxa) argument 671 samr_s_DeleteUser(void *arg, ndr_xa_t *mxa) argument 690 samr_s_QueryUserInfo(void *arg, ndr_xa_t *mxa) argument 772 samr_s_QueryUserGroups(void *arg, ndr_xa_t *mxa) argument 871 samr_s_OpenGroup(void *arg, ndr_xa_t *mxa) argument 906 samr_s_AddAliasMember(void *arg, ndr_xa_t *mxa) argument 965 samr_s_DeleteAliasMember(void *arg, ndr_xa_t *mxa) argument 1023 samr_s_ListAliasMembers(void *arg, ndr_xa_t *mxa) argument 1096 samr_s_Connect2(void *arg, ndr_xa_t *mxa) argument 1120 samr_s_GetUserPwInfo(void *arg, ndr_xa_t *mxa) argument 1135 samr_s_CreateUser(void *arg, ndr_xa_t *mxa) argument 1149 samr_s_ChangePasswordUser2(void *arg, ndr_xa_t *mxa) argument 1165 samr_s_GetDomainPwInfo(void *arg, ndr_xa_t *mxa) argument 1180 samr_s_SetUserInfo(void *arg, ndr_xa_t *mxa) argument 1200 samr_s_QueryDispInfo(void *arg, ndr_xa_t *mxa) argument 1334 samr_s_EnumDomainGroups(void *arg, ndr_xa_t *mxa) argument 1390 samr_s_OpenAlias(void *arg, ndr_xa_t *mxa) argument 1474 samr_s_CreateDomainAlias(void *arg, ndr_xa_t *mxa) argument 1538 samr_s_SetAliasInfo(void *arg, ndr_xa_t *mxa) argument 1558 samr_s_QueryAliasInfo(void *arg, ndr_xa_t *mxa) argument 1670 samr_s_DeleteDomainAlias(void *arg, ndr_xa_t *mxa) argument 1737 samr_s_EnumDomainAliases(void *arg, ndr_xa_t *mxa) argument 1818 samr_s_Connect4(void *arg, ndr_xa_t *mxa) argument 1843 samr_s_Connect5(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | mlsvc_netr.c | 88 netr_s_ServerReqChallenge(void *arg, ndr_xa_t *mxa) argument 102 netr_s_ServerAuthenticate2(void *arg, ndr_xa_t *mxa) argument 116 netr_s_ServerPasswordSet(void *arg, ndr_xa_t *mxa) argument 130 netr_s_SamLogon(void *arg, ndr_xa_t *mxa) argument 144 netr_s_SamLogoff(void *arg, ndr_xa_t *mxa) argument
|
H A D | srvsvc_svc.c | 250 srvsvc_s_NetConnectEnum(void *arg, ndr_xa_t *mxa) argument 259 if (!ndr_is_poweruser(mxa)) { 298 status = srvsvc_netconnectenum_level0(mxa, &se, param); 301 status = srvsvc_netconnectenum_level1(mxa, &se, param); 319 status = srvsvc_netconnectenum_common(mxa, ¶m->info, ns, &se); 347 srvsvc_netconnectenum_level0(ndr_xa_t *mxa, smb_svcenum_t *se, argument 353 if ((info0 = NDR_NEW(mxa, srvsvc_NetConnectInfo0_t)) == NULL) 364 ci0 = NDR_NEWN(mxa, srvsvc_NetConnectInfoBuf0_t, se->se_nlimit); 382 srvsvc_netconnectenum_level1(ndr_xa_t *mxa, smb_svcenum_t *se, argument 388 if ((info1 = NDR_NEW(mxa, srvsvc_NetConnectInfo1_ 418 srvsvc_netconnectenum_common(ndr_xa_t *mxa, srvsvc_NetConnectInfo_t *info, smb_netsvc_t *ns, smb_svcenum_t *se) argument 591 srvsvc_s_NetFileEnum(void *arg, ndr_xa_t *mxa) argument 673 srvsvc_NetFileEnum2(ndr_xa_t *mxa, struct mslm_NetFileEnum *param, smb_svcenum_t *se) argument 735 srvsvc_NetFileEnum3(ndr_xa_t *mxa, struct mslm_NetFileEnum *param, smb_svcenum_t *se) argument 816 srvsvc_s_NetFileClose(void *arg, ndr_xa_t *mxa) argument 858 srvsvc_s_NetShareGetInfo(void *arg, ndr_xa_t *mxa) argument 1030 srvsvc_share_getsd(ndr_xa_t *mxa, smb_share_t *si, srvsvc_sd_t *sd) argument 1068 srvsvc_s_NetShareSetInfo(void *arg, ndr_xa_t *mxa) argument 1387 srvsvc_s_NetSessionEnum(void *arg, ndr_xa_t *mxa) argument 1490 srvsvc_NetSessionEnumCommon(ndr_xa_t *mxa, srvsvc_infonres_t *info, smb_netsvc_t *ns, smb_svcenum_t *se) argument 1633 srvsvc_s_NetSessionDel(void *arg, ndr_xa_t *mxa) argument 1671 srvsvc_s_NetServerGetInfo(void *arg, ndr_xa_t *mxa) argument 1839 srvsvc_s_NetRemoteTOD(void *arg, ndr_xa_t *mxa) argument 1889 srvsvc_s_NetNameValidate(void *arg, ndr_xa_t *mxa) argument 1959 srvsvc_s_NetShareAdd(void *arg, ndr_xa_t *mxa) argument 2081 srvsvc_s_NetShareEnum(void *arg, ndr_xa_t *mxa) argument 2186 srvsvc_s_NetShareEnumSticky(void *arg, ndr_xa_t *mxa) argument 2274 mlsvc_NetShareEnumLevel0(ndr_xa_t *mxa, srvsvc_infonres_t *infonres, smb_svcenum_t *se, int sticky) argument 2334 mlsvc_NetShareEnumLevel1(ndr_xa_t *mxa, srvsvc_infonres_t *infonres, smb_svcenum_t *se, int sticky) argument 2394 mlsvc_NetShareEnumLevel2(ndr_xa_t *mxa, srvsvc_infonres_t *infonres, smb_svcenum_t *se, int sticky) argument 2454 mlsvc_NetShareEnumLevel501(ndr_xa_t *mxa, srvsvc_infonres_t *infonres, smb_svcenum_t *se, int sticky) argument 2515 mlsvc_NetShareEnumLevel502(ndr_xa_t *mxa, srvsvc_infonres_t *infonres, smb_svcenum_t *se, int sticky) argument 2588 mlsvc_NetShareEnumCommon(ndr_xa_t *mxa, smb_svcenum_t *se, smb_share_t *si, void *infop) argument 2679 srvsvc_add_autohome(ndr_xa_t *mxa, smb_svcenum_t *se, void *infop) argument 2727 srvsvc_share_mkpath(ndr_xa_t *mxa, char *path) argument 2756 srvsvc_s_NetShareCheck(void *arg, ndr_xa_t *mxa) argument 2799 srvsvc_s_NetShareDel(void *arg, ndr_xa_t *mxa) argument 2831 srvsvc_s_NetGetFileSecurity(void *arg, ndr_xa_t *mxa) argument 2850 srvsvc_s_NetSetFileSecurity(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | msgsvc_svc.c | 69 msgsvcsend_NetrSendMessage(void *arg, ndr_xa_t *mxa) argument 73 if (!ndr_is_admin(mxa)) {
|
H A D | mlsvc_client.c | 465 ndr_xa_init(ndr_client_t *clnt, ndr_xa_t *mxa) argument 467 ndr_stream_t *recv_nds = &mxa->recv_nds; 468 ndr_stream_t *send_nds = &mxa->send_nds; 479 mxa->heap = heap; 487 nds_destruct(&mxa->recv_nds); 488 nds_destruct(&mxa->send_nds); 489 ndr_heap_destroy(mxa->heap); 490 mxa->heap = NULL; 509 ndr_xa_exchange(ndr_client_t *clnt, ndr_xa_t *mxa) argument 511 ndr_stream_t *recv_nds = &mxa 539 ndr_xa_read(ndr_client_t *clnt, ndr_xa_t *mxa) argument 569 ndr_xa_preserve(ndr_client_t *clnt, ndr_xa_t *mxa) argument 582 ndr_xa_destruct(ndr_client_t *clnt, ndr_xa_t *mxa) argument [all...] |
H A D | spoolss_svc.c | 228 spoolss_s_OpenPrinter(void *arg, ndr_xa_t *mxa) argument 244 if ((id = ndr_hdalloc(mxa, NULL)) == NULL) { 257 spoolss_s_StartPagePrinter(void *arg, ndr_xa_t *mxa) argument 268 spoolss_s_EndPagePrinter(void *arg, ndr_xa_t *mxa) argument 283 spoolss_s_StartDocPrinter(void *arg, ndr_xa_t *mxa) argument 294 if (ndr_hdlookup(mxa, id) == NULL) { 329 spfile->sd_ipaddr = mxa->pipe->np_user->ui_ipaddr; 331 mxa->pipe->np_user->ui_account, MAXNAMELEN); 375 spoolss_s_EndDocPrinter(void *arg, ndr_xa_t *mxa) argument 381 if (ndr_hdlookup(mxa, i 414 spoolss_s_AbortPrinter(void *arg, ndr_xa_t *mxa) argument 424 spoolss_s_ResetPrinter(void *arg, ndr_xa_t *mxa) argument 433 spoolss_s_ClosePrinter(void *arg, ndr_xa_t *mxa) argument 451 spoolss_s_AddForm(void *arg, ndr_xa_t *mxa) argument 468 spoolss_s_DeleteForm(void *arg, ndr_xa_t *mxa) argument 485 spoolss_s_EnumForms(void *arg, ndr_xa_t *mxa) argument 504 spoolss_s_AddMonitor(void *arg, ndr_xa_t *mxa) argument 514 spoolss_s_DeleteMonitor(void *arg, ndr_xa_t *mxa) argument 524 spoolss_s_DeletePort(void *arg, ndr_xa_t *mxa) argument 534 spoolss_s_AddPortEx(void *arg, ndr_xa_t *mxa) argument 544 spoolss_s_SetPort(void *arg, ndr_xa_t *mxa) argument 554 spoolss_s_EnumJobs(void *arg, ndr_xa_t *mxa) argument 577 spoolss_s_GetJob(void *arg, ndr_xa_t *mxa) argument 593 spoolss_s_ScheduleJob(void *arg, ndr_xa_t *mxa) argument 604 spoolss_s_AddJob(void *arg, ndr_xa_t *mxa) argument 615 spoolss_s_rfnpcnex(void *arg, ndr_xa_t *mxa) argument 628 spoolss_s_WritePrinter(void *arg, ndr_xa_t *mxa) argument 691 spoolss_s_GetPrinterData(void *arg, ndr_xa_t *mxa) argument 856 spoolss_s_GetPrinter(void *arg, ndr_xa_t *mxa) argument 1077 spoolss_make_sd(ndr_xa_t *mxa, spoolss_sd_t *secdesc) argument 1130 spoolss_s_stub(void *arg, ndr_xa_t *mxa) argument [all...] |
H A D | wkssvc_svc.c | 70 wkssvc_s_NetWkstaGetInfo(void *arg, ndr_xa_t *mxa) argument 84 rb = NDR_NEW(mxa, mslm_NetWkstaGetInfo_rb); 87 name = NDR_STRDUP(mxa, hostname); 88 domain = NDR_STRDUP(mxa, resource_domain); 169 wkssvc_s_NetWkstaTransportEnum(void *arg, ndr_xa_t *mxa) argument 177 info0 = NDR_NEW(mxa, struct mslm_NetWkstaTransportCtr0); 178 ti0 = NDR_NEW(mxa, struct mslm_NetWkstaTransportInfo0);
|
H A D | eventlog_svc.c | 189 logr_hdlookup(ndr_xa_t *mxa, ndr_hdid_t *id) argument 194 if ((hd = ndr_hdlookup(mxa, id)) == NULL) 233 logr_hdalloc(ndr_xa_t *mxa, char *logname) argument 253 return (ndr_hdalloc(mxa, ctx)); 264 logr_s_EventLogClose(void *arg, ndr_xa_t *mxa) argument 270 if ((hd = ndr_hdlookup(mxa, id)) == NULL) { 276 ndr_hdfree(mxa, id); 291 logr_s_EventLogOpen(void *arg, ndr_xa_t *mxa) argument 298 if (!ndr_is_admin(mxa)) { 313 id = logr_hdalloc(mxa, log_nam 334 logr_s_EventLogQueryCount(void *arg, ndr_xa_t *mxa) argument 361 logr_s_EventLogGetOldestRec(void *arg, ndr_xa_t *mxa) argument 490 logr_s_EventLogRead(void *arg, ndr_xa_t *mxa) argument [all...] |