1 #ifndef INCLUDE_auth_h__
2 #define INCLUDE_auth_h__
3 extern int auth_host_ok(const char *host
);
4 extern int auth_service_ok(const char *host
, const char *service
);
5 extern void auth_set_user(const char *username
);
6 extern void auth_parse_permission(const char *key
, const char *value
);
7 extern const char *auth_get_user(void);
8 extern void auth_parse_perm(const char *key
, const char *value
);
9 extern int auth_init(const char *path
);
10 extern void auth_deinit(void);