5e8c725ea0af359b42190e9979d40056b593490a
[ab/samba.git/.git] / source4 / auth / ntlm / auth_proto.h
1 #ifndef __AUTH_NTLM_AUTH_PROTO_H__
2 #define __AUTH_NTLM_AUTH_PROTO_H__
3
4 #undef _PRINTF_ATTRIBUTE
5 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
6 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
7
8 /* this file contains prototypes for functions that are private 
9  * to this subsystem or library. These functions should not be 
10  * used outside this particular subsystem! */
11
12
13 /* The following definitions come from auth/ntlm/auth.c  */
14
15
16 /***************************************************************************
17  Set a fixed challenge
18 ***************************************************************************/
19 bool auth_challenge_may_be_modified(struct auth_context *auth_ctx) ;
20 const struct auth_operations *auth_backend_byname(const char *name);
21 const struct auth_critical_sizes *auth_interface_version(void);
22 NTSTATUS server_service_auth_init(void);
23
24 /* The following definitions come from auth/ntlm/auth_util.c  */
25
26 NTSTATUS auth_get_challenge_not_implemented(struct auth_method_context *ctx, TALLOC_CTX *mem_ctx, uint8_t chal[8]);
27
28 /****************************************************************************
29  Create an auth_usersupplied_data structure after appropriate mapping.
30 ****************************************************************************/
31 NTSTATUS map_user_info(TALLOC_CTX *mem_ctx,
32                        const char *default_domain,
33                        const struct auth_usersupplied_info *user_info,
34                        struct auth_usersupplied_info **user_info_mapped);
35
36 /****************************************************************************
37  Create an auth_usersupplied_data structure after appropriate mapping.
38 ****************************************************************************/
39 NTSTATUS encrypt_user_info(TALLOC_CTX *mem_ctx, struct auth_context *auth_context, 
40                            enum auth_password_state to_state,
41                            const struct auth_usersupplied_info *user_info_in,
42                            const struct auth_usersupplied_info **user_info_encrypted);
43
44 /* The following definitions come from auth/ntlm/auth_simple.c  */
45
46 #undef _PRINTF_ATTRIBUTE
47 #define _PRINTF_ATTRIBUTE(a1, a2)
48
49 #endif /* __AUTH_NTLM_AUTH_PROTO_H__ */
50