11 lines
196 B
C
11 lines
196 B
C
|
|
#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);
|