1 #include "librpc/gen_ndr/ndr_netlogon.h"
2 #ifndef __SRV_NETLOGON__
3 #define __SRV_NETLOGON__
4 WERROR
_netr_LogonUasLogon(pipes_struct
*p
, struct netr_LogonUasLogon
*r
);
5 WERROR
_netr_LogonUasLogoff(pipes_struct
*p
, struct netr_LogonUasLogoff
*r
);
6 NTSTATUS
_netr_LogonSamLogon(pipes_struct
*p
, struct netr_LogonSamLogon
*r
);
7 NTSTATUS
_netr_LogonSamLogoff(pipes_struct
*p
, struct netr_LogonSamLogoff
*r
);
8 NTSTATUS
_netr_ServerReqChallenge(pipes_struct
*p
, struct netr_ServerReqChallenge
*r
);
9 NTSTATUS
_netr_ServerAuthenticate(pipes_struct
*p
, struct netr_ServerAuthenticate
*r
);
10 NTSTATUS
_netr_ServerPasswordSet(pipes_struct
*p
, struct netr_ServerPasswordSet
*r
);
11 NTSTATUS
_netr_DatabaseDeltas(pipes_struct
*p
, struct netr_DatabaseDeltas
*r
);
12 NTSTATUS
_netr_DatabaseSync(pipes_struct
*p
, struct netr_DatabaseSync
*r
);
13 NTSTATUS
_netr_AccountDeltas(pipes_struct
*p
, struct netr_AccountDeltas
*r
);
14 NTSTATUS
_netr_AccountSync(pipes_struct
*p
, struct netr_AccountSync
*r
);
15 WERROR
_netr_GetDcName(pipes_struct
*p
, struct netr_GetDcName
*r
);
16 WERROR
_netr_LogonControl(pipes_struct
*p
, struct netr_LogonControl
*r
);
17 WERROR
_netr_GetAnyDCName(pipes_struct
*p
, struct netr_GetAnyDCName
*r
);
18 WERROR
_netr_LogonControl2(pipes_struct
*p
, struct netr_LogonControl2
*r
);
19 NTSTATUS
_netr_ServerAuthenticate2(pipes_struct
*p
, struct netr_ServerAuthenticate2
*r
);
20 NTSTATUS
_netr_DatabaseSync2(pipes_struct
*p
, struct netr_DatabaseSync2
*r
);
21 NTSTATUS
_netr_DatabaseRedo(pipes_struct
*p
, struct netr_DatabaseRedo
*r
);
22 WERROR
_netr_LogonControl2Ex(pipes_struct
*p
, struct netr_LogonControl2Ex
*r
);
23 WERROR
_netr_NetrEnumerateTrustedDomains(pipes_struct
*p
, struct netr_NetrEnumerateTrustedDomains
*r
);
24 WERROR
_netr_DsRGetDCName(pipes_struct
*p
, struct netr_DsRGetDCName
*r
);
25 WERROR
_netr_NETRLOGONDUMMYROUTINE1(pipes_struct
*p
, struct netr_NETRLOGONDUMMYROUTINE1
*r
);
26 WERROR
_netr_NETRLOGONSETSERVICEBITS(pipes_struct
*p
, struct netr_NETRLOGONSETSERVICEBITS
*r
);
27 WERROR
_netr_LogonGetTrustRid(pipes_struct
*p
, struct netr_LogonGetTrustRid
*r
);
28 WERROR
_netr_NETRLOGONCOMPUTESERVERDIGEST(pipes_struct
*p
, struct netr_NETRLOGONCOMPUTESERVERDIGEST
*r
);
29 WERROR
_netr_NETRLOGONCOMPUTECLIENTDIGEST(pipes_struct
*p
, struct netr_NETRLOGONCOMPUTECLIENTDIGEST
*r
);
30 NTSTATUS
_netr_ServerAuthenticate3(pipes_struct
*p
, struct netr_ServerAuthenticate3
*r
);
31 WERROR
_netr_DsRGetDCNameEx(pipes_struct
*p
, struct netr_DsRGetDCNameEx
*r
);
32 WERROR
_netr_DsRGetSiteName(pipes_struct
*p
, struct netr_DsRGetSiteName
*r
);
33 NTSTATUS
_netr_LogonGetDomainInfo(pipes_struct
*p
, struct netr_LogonGetDomainInfo
*r
);
34 NTSTATUS
_netr_ServerPasswordSet2(pipes_struct
*p
, struct netr_ServerPasswordSet2
*r
);
35 WERROR
_netr_ServerPasswordGet(pipes_struct
*p
, struct netr_ServerPasswordGet
*r
);
36 WERROR
_netr_NETRLOGONSENDTOSAM(pipes_struct
*p
, struct netr_NETRLOGONSENDTOSAM
*r
);
37 WERROR
_netr_DsRAddressToSitenamesW(pipes_struct
*p
, struct netr_DsRAddressToSitenamesW
*r
);
38 WERROR
_netr_DsRGetDCNameEx2(pipes_struct
*p
, struct netr_DsRGetDCNameEx2
*r
);
39 WERROR
_netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN(pipes_struct
*p
, struct netr_NETRLOGONGETTIMESERVICEPARENTDOMAIN
*r
);
40 WERROR
_netr_NetrEnumerateTrustedDomainsEx(pipes_struct
*p
, struct netr_NetrEnumerateTrustedDomainsEx
*r
);
41 WERROR
_netr_DsRAddressToSitenamesExW(pipes_struct
*p
, struct netr_DsRAddressToSitenamesExW
*r
);
42 WERROR
_netr_DsrGetDcSiteCoverageW(pipes_struct
*p
, struct netr_DsrGetDcSiteCoverageW
*r
);
43 NTSTATUS
_netr_LogonSamLogonEx(pipes_struct
*p
, struct netr_LogonSamLogonEx
*r
);
44 WERROR
_netr_DsrEnumerateDomainTrusts(pipes_struct
*p
, struct netr_DsrEnumerateDomainTrusts
*r
);
45 WERROR
_netr_DsrDeregisterDNSHostRecords(pipes_struct
*p
, struct netr_DsrDeregisterDNSHostRecords
*r
);
46 NTSTATUS
_netr_ServerTrustPasswordsGet(pipes_struct
*p
, struct netr_ServerTrustPasswordsGet
*r
);
47 WERROR
_netr_DsRGetForestTrustInformation(pipes_struct
*p
, struct netr_DsRGetForestTrustInformation
*r
);
48 WERROR
_netr_GetForestTrustInformation(pipes_struct
*p
, struct netr_GetForestTrustInformation
*r
);
49 NTSTATUS
_netr_LogonSamLogonWithFlags(pipes_struct
*p
, struct netr_LogonSamLogonWithFlags
*r
);
50 WERROR
_netr_NETRSERVERGETTRUSTINFO(pipes_struct
*p
, struct netr_NETRSERVERGETTRUSTINFO
*r
);
51 void netlogon_get_pipe_fns(struct api_struct
**fns
, int *n_fns
);
52 NTSTATUS
rpc_netlogon_init(void);
53 #endif /* __SRV_NETLOGON__ */