#ifndef __SOURCE4_AUTH_SESSION_PROTO_H__ #define __SOURCE4_AUTH_SESSION_PROTO_H__ #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) /* This file was automatically generated by mkproto.pl. DO NOT EDIT */ /* 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 ../../source4/auth/session.c */ struct auth_session_info *auth_session_info_from_transport(TALLOC_CTX *mem_ctx, struct auth_session_info_transport *session_info_transport, struct loadparm_context *lp_ctx, const char **reason); NTSTATUS auth_session_info_transport_from_session(TALLOC_CTX *mem_ctx, struct auth_session_info *session_info, struct tevent_context *event_ctx, struct loadparm_context *lp_ctx, struct auth_session_info_transport **transport_out); NTSTATUS authsam_get_session_info_principal(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx, struct ldb_context *sam_ctx, const char *principal, struct ldb_dn *user_dn, uint32_t session_info_flags, struct auth_session_info **session_info); /** * prints a struct auth_session_info security token to debug output. */ void auth_session_info_debug(int dbg_lev, const struct auth_session_info *session_info); #undef _PRINTF_ATTRIBUTE #define _PRINTF_ATTRIBUTE(a1, a2) #endif /* __SOURCE4_AUTH_SESSION_PROTO_H__ */