summaryrefslogtreecommitdiff
path: root/libcli/auth/schannel_state_proto.h
blob: 99b950e9cafdda464bfb77c72fd1bbe765f67249 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _LIBCLI_AUTH_SCHANNEL_STATE_PROTO_H__
#define _LIBCLI_AUTH_SCHANNEL_STATE_PROTO_H__

#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)

/* this file contains prototypes for functions that are private 
 * to this subsystem or library. These functions should not be 
 * used outside this particular subsystem! */


/* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/schannel_state.c  */

NTSTATUS schannel_store_session_key(struct ldb_context *ldb,
				    TALLOC_CTX *mem_ctx,
				    struct netlogon_creds_CredentialState *creds);
NTSTATUS schannel_fetch_session_key(struct ldb_context *ldb,
				    TALLOC_CTX *mem_ctx,
				    const char *computer_name, 
				    struct netlogon_creds_CredentialState **creds);
NTSTATUS schannel_creds_server_step_check(struct ldb_context *ldb,
					  TALLOC_CTX *mem_ctx, 
					  const char *computer_name,
					  bool schannel_required_for_call,
					  bool schannel_in_use,
					  struct netr_Authenticator *received_authenticator,
					  struct netr_Authenticator *return_authenticator,
					  struct netlogon_creds_CredentialState **creds_out) ;
#undef _PRINTF_ATTRIBUTE
#define _PRINTF_ATTRIBUTE(a1, a2)

#endif