2018-04-01 00:09:00 +00:00
|
|
|
/*
|
|
|
|
FILENAME : pam_panic_password.h
|
|
|
|
AUTHOR : Bandie
|
|
|
|
DATE : 2018-03-27T02:34:08+02:00
|
|
|
|
LICENSE : GNU-GPLv3
|
|
|
|
*/
|
|
|
|
|
2018-10-30 20:19:07 +00:00
|
|
|
#ifndef PAM_PANIC_PASSWORD_H
|
|
|
|
#define PAM_PANIC_PASSWORD_H
|
|
|
|
|
2018-09-28 19:00:16 +00:00
|
|
|
#include "../config.h"
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <security/pam_modules.h>
|
|
|
|
#include <security/pam_ext.h>
|
2018-04-02 18:34:43 +00:00
|
|
|
|
2018-04-01 14:45:09 +00:00
|
|
|
#ifndef PPASSFILE
|
|
|
|
#error PPASSFILE must be declared!
|
|
|
|
#endif
|
|
|
|
|
|
|
|
int authPassword(pam_handle_t *pamh, char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff);
|
|
|
|
|
2018-10-30 20:19:07 +00:00
|
|
|
#endif
|