s3:packaging: Fix source dir.
[Samba.git] / librpc / gen_ndr / srv_samr.h
blob4b308ebf29d9f7684bbb380f39e3de888cf199fc
1 #include "../librpc/gen_ndr/ndr_samr.h"
2 #ifndef __SRV_SAMR__
3 #define __SRV_SAMR__
4 NTSTATUS _samr_Connect(pipes_struct *p, struct samr_Connect *r);
5 NTSTATUS _samr_Close(pipes_struct *p, struct samr_Close *r);
6 NTSTATUS _samr_SetSecurity(pipes_struct *p, struct samr_SetSecurity *r);
7 NTSTATUS _samr_QuerySecurity(pipes_struct *p, struct samr_QuerySecurity *r);
8 NTSTATUS _samr_Shutdown(pipes_struct *p, struct samr_Shutdown *r);
9 NTSTATUS _samr_LookupDomain(pipes_struct *p, struct samr_LookupDomain *r);
10 NTSTATUS _samr_EnumDomains(pipes_struct *p, struct samr_EnumDomains *r);
11 NTSTATUS _samr_OpenDomain(pipes_struct *p, struct samr_OpenDomain *r);
12 NTSTATUS _samr_QueryDomainInfo(pipes_struct *p, struct samr_QueryDomainInfo *r);
13 NTSTATUS _samr_SetDomainInfo(pipes_struct *p, struct samr_SetDomainInfo *r);
14 NTSTATUS _samr_CreateDomainGroup(pipes_struct *p, struct samr_CreateDomainGroup *r);
15 NTSTATUS _samr_EnumDomainGroups(pipes_struct *p, struct samr_EnumDomainGroups *r);
16 NTSTATUS _samr_CreateUser(pipes_struct *p, struct samr_CreateUser *r);
17 NTSTATUS _samr_EnumDomainUsers(pipes_struct *p, struct samr_EnumDomainUsers *r);
18 NTSTATUS _samr_CreateDomAlias(pipes_struct *p, struct samr_CreateDomAlias *r);
19 NTSTATUS _samr_EnumDomainAliases(pipes_struct *p, struct samr_EnumDomainAliases *r);
20 NTSTATUS _samr_GetAliasMembership(pipes_struct *p, struct samr_GetAliasMembership *r);
21 NTSTATUS _samr_LookupNames(pipes_struct *p, struct samr_LookupNames *r);
22 NTSTATUS _samr_LookupRids(pipes_struct *p, struct samr_LookupRids *r);
23 NTSTATUS _samr_OpenGroup(pipes_struct *p, struct samr_OpenGroup *r);
24 NTSTATUS _samr_QueryGroupInfo(pipes_struct *p, struct samr_QueryGroupInfo *r);
25 NTSTATUS _samr_SetGroupInfo(pipes_struct *p, struct samr_SetGroupInfo *r);
26 NTSTATUS _samr_AddGroupMember(pipes_struct *p, struct samr_AddGroupMember *r);
27 NTSTATUS _samr_DeleteDomainGroup(pipes_struct *p, struct samr_DeleteDomainGroup *r);
28 NTSTATUS _samr_DeleteGroupMember(pipes_struct *p, struct samr_DeleteGroupMember *r);
29 NTSTATUS _samr_QueryGroupMember(pipes_struct *p, struct samr_QueryGroupMember *r);
30 NTSTATUS _samr_SetMemberAttributesOfGroup(pipes_struct *p, struct samr_SetMemberAttributesOfGroup *r);
31 NTSTATUS _samr_OpenAlias(pipes_struct *p, struct samr_OpenAlias *r);
32 NTSTATUS _samr_QueryAliasInfo(pipes_struct *p, struct samr_QueryAliasInfo *r);
33 NTSTATUS _samr_SetAliasInfo(pipes_struct *p, struct samr_SetAliasInfo *r);
34 NTSTATUS _samr_DeleteDomAlias(pipes_struct *p, struct samr_DeleteDomAlias *r);
35 NTSTATUS _samr_AddAliasMember(pipes_struct *p, struct samr_AddAliasMember *r);
36 NTSTATUS _samr_DeleteAliasMember(pipes_struct *p, struct samr_DeleteAliasMember *r);
37 NTSTATUS _samr_GetMembersInAlias(pipes_struct *p, struct samr_GetMembersInAlias *r);
38 NTSTATUS _samr_OpenUser(pipes_struct *p, struct samr_OpenUser *r);
39 NTSTATUS _samr_DeleteUser(pipes_struct *p, struct samr_DeleteUser *r);
40 NTSTATUS _samr_QueryUserInfo(pipes_struct *p, struct samr_QueryUserInfo *r);
41 NTSTATUS _samr_SetUserInfo(pipes_struct *p, struct samr_SetUserInfo *r);
42 NTSTATUS _samr_ChangePasswordUser(pipes_struct *p, struct samr_ChangePasswordUser *r);
43 NTSTATUS _samr_GetGroupsForUser(pipes_struct *p, struct samr_GetGroupsForUser *r);
44 NTSTATUS _samr_QueryDisplayInfo(pipes_struct *p, struct samr_QueryDisplayInfo *r);
45 NTSTATUS _samr_GetDisplayEnumerationIndex(pipes_struct *p, struct samr_GetDisplayEnumerationIndex *r);
46 NTSTATUS _samr_TestPrivateFunctionsDomain(pipes_struct *p, struct samr_TestPrivateFunctionsDomain *r);
47 NTSTATUS _samr_TestPrivateFunctionsUser(pipes_struct *p, struct samr_TestPrivateFunctionsUser *r);
48 NTSTATUS _samr_GetUserPwInfo(pipes_struct *p, struct samr_GetUserPwInfo *r);
49 NTSTATUS _samr_RemoveMemberFromForeignDomain(pipes_struct *p, struct samr_RemoveMemberFromForeignDomain *r);
50 NTSTATUS _samr_QueryDomainInfo2(pipes_struct *p, struct samr_QueryDomainInfo2 *r);
51 NTSTATUS _samr_QueryUserInfo2(pipes_struct *p, struct samr_QueryUserInfo2 *r);
52 NTSTATUS _samr_QueryDisplayInfo2(pipes_struct *p, struct samr_QueryDisplayInfo2 *r);
53 NTSTATUS _samr_GetDisplayEnumerationIndex2(pipes_struct *p, struct samr_GetDisplayEnumerationIndex2 *r);
54 NTSTATUS _samr_CreateUser2(pipes_struct *p, struct samr_CreateUser2 *r);
55 NTSTATUS _samr_QueryDisplayInfo3(pipes_struct *p, struct samr_QueryDisplayInfo3 *r);
56 NTSTATUS _samr_AddMultipleMembersToAlias(pipes_struct *p, struct samr_AddMultipleMembersToAlias *r);
57 NTSTATUS _samr_RemoveMultipleMembersFromAlias(pipes_struct *p, struct samr_RemoveMultipleMembersFromAlias *r);
58 NTSTATUS _samr_OemChangePasswordUser2(pipes_struct *p, struct samr_OemChangePasswordUser2 *r);
59 NTSTATUS _samr_ChangePasswordUser2(pipes_struct *p, struct samr_ChangePasswordUser2 *r);
60 NTSTATUS _samr_GetDomPwInfo(pipes_struct *p, struct samr_GetDomPwInfo *r);
61 NTSTATUS _samr_Connect2(pipes_struct *p, struct samr_Connect2 *r);
62 NTSTATUS _samr_SetUserInfo2(pipes_struct *p, struct samr_SetUserInfo2 *r);
63 NTSTATUS _samr_SetBootKeyInformation(pipes_struct *p, struct samr_SetBootKeyInformation *r);
64 NTSTATUS _samr_GetBootKeyInformation(pipes_struct *p, struct samr_GetBootKeyInformation *r);
65 NTSTATUS _samr_Connect3(pipes_struct *p, struct samr_Connect3 *r);
66 NTSTATUS _samr_Connect4(pipes_struct *p, struct samr_Connect4 *r);
67 NTSTATUS _samr_ChangePasswordUser3(pipes_struct *p, struct samr_ChangePasswordUser3 *r);
68 NTSTATUS _samr_Connect5(pipes_struct *p, struct samr_Connect5 *r);
69 NTSTATUS _samr_RidToSid(pipes_struct *p, struct samr_RidToSid *r);
70 NTSTATUS _samr_SetDsrmPassword(pipes_struct *p, struct samr_SetDsrmPassword *r);
71 NTSTATUS _samr_ValidatePassword(pipes_struct *p, struct samr_ValidatePassword *r);
72 void samr_get_pipe_fns(struct api_struct **fns, int *n_fns);
73 NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const struct ndr_interface_table *table, uint32_t opnum, void *r);
74 NTSTATUS _samr_Connect(pipes_struct *p, struct samr_Connect *r);
75 NTSTATUS _samr_Close(pipes_struct *p, struct samr_Close *r);
76 NTSTATUS _samr_SetSecurity(pipes_struct *p, struct samr_SetSecurity *r);
77 NTSTATUS _samr_QuerySecurity(pipes_struct *p, struct samr_QuerySecurity *r);
78 NTSTATUS _samr_Shutdown(pipes_struct *p, struct samr_Shutdown *r);
79 NTSTATUS _samr_LookupDomain(pipes_struct *p, struct samr_LookupDomain *r);
80 NTSTATUS _samr_EnumDomains(pipes_struct *p, struct samr_EnumDomains *r);
81 NTSTATUS _samr_OpenDomain(pipes_struct *p, struct samr_OpenDomain *r);
82 NTSTATUS _samr_QueryDomainInfo(pipes_struct *p, struct samr_QueryDomainInfo *r);
83 NTSTATUS _samr_SetDomainInfo(pipes_struct *p, struct samr_SetDomainInfo *r);
84 NTSTATUS _samr_CreateDomainGroup(pipes_struct *p, struct samr_CreateDomainGroup *r);
85 NTSTATUS _samr_EnumDomainGroups(pipes_struct *p, struct samr_EnumDomainGroups *r);
86 NTSTATUS _samr_CreateUser(pipes_struct *p, struct samr_CreateUser *r);
87 NTSTATUS _samr_EnumDomainUsers(pipes_struct *p, struct samr_EnumDomainUsers *r);
88 NTSTATUS _samr_CreateDomAlias(pipes_struct *p, struct samr_CreateDomAlias *r);
89 NTSTATUS _samr_EnumDomainAliases(pipes_struct *p, struct samr_EnumDomainAliases *r);
90 NTSTATUS _samr_GetAliasMembership(pipes_struct *p, struct samr_GetAliasMembership *r);
91 NTSTATUS _samr_LookupNames(pipes_struct *p, struct samr_LookupNames *r);
92 NTSTATUS _samr_LookupRids(pipes_struct *p, struct samr_LookupRids *r);
93 NTSTATUS _samr_OpenGroup(pipes_struct *p, struct samr_OpenGroup *r);
94 NTSTATUS _samr_QueryGroupInfo(pipes_struct *p, struct samr_QueryGroupInfo *r);
95 NTSTATUS _samr_SetGroupInfo(pipes_struct *p, struct samr_SetGroupInfo *r);
96 NTSTATUS _samr_AddGroupMember(pipes_struct *p, struct samr_AddGroupMember *r);
97 NTSTATUS _samr_DeleteDomainGroup(pipes_struct *p, struct samr_DeleteDomainGroup *r);
98 NTSTATUS _samr_DeleteGroupMember(pipes_struct *p, struct samr_DeleteGroupMember *r);
99 NTSTATUS _samr_QueryGroupMember(pipes_struct *p, struct samr_QueryGroupMember *r);
100 NTSTATUS _samr_SetMemberAttributesOfGroup(pipes_struct *p, struct samr_SetMemberAttributesOfGroup *r);
101 NTSTATUS _samr_OpenAlias(pipes_struct *p, struct samr_OpenAlias *r);
102 NTSTATUS _samr_QueryAliasInfo(pipes_struct *p, struct samr_QueryAliasInfo *r);
103 NTSTATUS _samr_SetAliasInfo(pipes_struct *p, struct samr_SetAliasInfo *r);
104 NTSTATUS _samr_DeleteDomAlias(pipes_struct *p, struct samr_DeleteDomAlias *r);
105 NTSTATUS _samr_AddAliasMember(pipes_struct *p, struct samr_AddAliasMember *r);
106 NTSTATUS _samr_DeleteAliasMember(pipes_struct *p, struct samr_DeleteAliasMember *r);
107 NTSTATUS _samr_GetMembersInAlias(pipes_struct *p, struct samr_GetMembersInAlias *r);
108 NTSTATUS _samr_OpenUser(pipes_struct *p, struct samr_OpenUser *r);
109 NTSTATUS _samr_DeleteUser(pipes_struct *p, struct samr_DeleteUser *r);
110 NTSTATUS _samr_QueryUserInfo(pipes_struct *p, struct samr_QueryUserInfo *r);
111 NTSTATUS _samr_SetUserInfo(pipes_struct *p, struct samr_SetUserInfo *r);
112 NTSTATUS _samr_ChangePasswordUser(pipes_struct *p, struct samr_ChangePasswordUser *r);
113 NTSTATUS _samr_GetGroupsForUser(pipes_struct *p, struct samr_GetGroupsForUser *r);
114 NTSTATUS _samr_QueryDisplayInfo(pipes_struct *p, struct samr_QueryDisplayInfo *r);
115 NTSTATUS _samr_GetDisplayEnumerationIndex(pipes_struct *p, struct samr_GetDisplayEnumerationIndex *r);
116 NTSTATUS _samr_TestPrivateFunctionsDomain(pipes_struct *p, struct samr_TestPrivateFunctionsDomain *r);
117 NTSTATUS _samr_TestPrivateFunctionsUser(pipes_struct *p, struct samr_TestPrivateFunctionsUser *r);
118 NTSTATUS _samr_GetUserPwInfo(pipes_struct *p, struct samr_GetUserPwInfo *r);
119 NTSTATUS _samr_RemoveMemberFromForeignDomain(pipes_struct *p, struct samr_RemoveMemberFromForeignDomain *r);
120 NTSTATUS _samr_QueryDomainInfo2(pipes_struct *p, struct samr_QueryDomainInfo2 *r);
121 NTSTATUS _samr_QueryUserInfo2(pipes_struct *p, struct samr_QueryUserInfo2 *r);
122 NTSTATUS _samr_QueryDisplayInfo2(pipes_struct *p, struct samr_QueryDisplayInfo2 *r);
123 NTSTATUS _samr_GetDisplayEnumerationIndex2(pipes_struct *p, struct samr_GetDisplayEnumerationIndex2 *r);
124 NTSTATUS _samr_CreateUser2(pipes_struct *p, struct samr_CreateUser2 *r);
125 NTSTATUS _samr_QueryDisplayInfo3(pipes_struct *p, struct samr_QueryDisplayInfo3 *r);
126 NTSTATUS _samr_AddMultipleMembersToAlias(pipes_struct *p, struct samr_AddMultipleMembersToAlias *r);
127 NTSTATUS _samr_RemoveMultipleMembersFromAlias(pipes_struct *p, struct samr_RemoveMultipleMembersFromAlias *r);
128 NTSTATUS _samr_OemChangePasswordUser2(pipes_struct *p, struct samr_OemChangePasswordUser2 *r);
129 NTSTATUS _samr_ChangePasswordUser2(pipes_struct *p, struct samr_ChangePasswordUser2 *r);
130 NTSTATUS _samr_GetDomPwInfo(pipes_struct *p, struct samr_GetDomPwInfo *r);
131 NTSTATUS _samr_Connect2(pipes_struct *p, struct samr_Connect2 *r);
132 NTSTATUS _samr_SetUserInfo2(pipes_struct *p, struct samr_SetUserInfo2 *r);
133 NTSTATUS _samr_SetBootKeyInformation(pipes_struct *p, struct samr_SetBootKeyInformation *r);
134 NTSTATUS _samr_GetBootKeyInformation(pipes_struct *p, struct samr_GetBootKeyInformation *r);
135 NTSTATUS _samr_Connect3(pipes_struct *p, struct samr_Connect3 *r);
136 NTSTATUS _samr_Connect4(pipes_struct *p, struct samr_Connect4 *r);
137 NTSTATUS _samr_ChangePasswordUser3(pipes_struct *p, struct samr_ChangePasswordUser3 *r);
138 NTSTATUS _samr_Connect5(pipes_struct *p, struct samr_Connect5 *r);
139 NTSTATUS _samr_RidToSid(pipes_struct *p, struct samr_RidToSid *r);
140 NTSTATUS _samr_SetDsrmPassword(pipes_struct *p, struct samr_SetDsrmPassword *r);
141 NTSTATUS _samr_ValidatePassword(pipes_struct *p, struct samr_ValidatePassword *r);
142 NTSTATUS rpc_samr_init(void);
143 #endif /* __SRV_SAMR__ */