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 NTSTATUS
_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_NETRLOGONGETTRUSTRID(pipes_struct
*p
, struct netr_NETRLOGONGETTRUSTRID
*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_NETRSERVERPASSWORDGET(pipes_struct
*p
, struct netr_NETRSERVERPASSWORDGET
*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 WERROR
_netr_NETRSERVERTRUSTPASSWORDSGET(pipes_struct
*p
, struct netr_NETRSERVERTRUSTPASSWORDSGET
*r
);
47 WERROR
_netr_DSRGETFORESTTRUSTINFORMATION(pipes_struct
*p
, struct netr_DSRGETFORESTTRUSTINFORMATION
*r
);
48 WERROR
_netr_NETRGETFORESTTRUSTINFORMATION(pipes_struct
*p
, struct netr_NETRGETFORESTTRUSTINFORMATION
*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__ */