commit all files, will need cleanup later.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
////////
|
||||
//
|
||||
// header file for authentification
|
||||
// used either for absec_etc or absec_pam
|
||||
//
|
||||
// author: Jean-Luc Cyr
|
||||
// date: 2018-10
|
||||
//
|
||||
// usage: include this file as header definition
|
||||
// then link the program with either -labsec_etc or -labsec_pam
|
||||
//
|
||||
#define PAM_OK 0
|
||||
#define PAM_ERROR_START -1
|
||||
#define PAM_ERROR_INVALID_CRED -2
|
||||
#define PAM_ERROR_STOP -3
|
||||
|
||||
#define HTTP_UNAUTHORIZED 401
|
||||
#define OK 200
|
||||
|
||||
int check_user(char* user, char* pass);
|
||||
Reference in New Issue
Block a user