summaryrefslogtreecommitdiffstats
path: root/src/auth/auth-policy.h
blob: 1c81945d70926ee30efb6a1656e57d1d77fa299a (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef AUTH_POLICY_H
#define AUTH_POLICY_H

typedef void (*auth_policy_callback_t)(int, void *);

void auth_policy_check(struct auth_request *request, const char *password, auth_policy_callback_t cb, void *context);
void auth_policy_report(struct auth_request *request);
void auth_policy_init(void);
void auth_policy_deinit(void);

#endif