Correcting and adding headers for future testing purposes.

This commit is contained in:
2018-04-01 16:45:09 +02:00
parent 25046d1c5e
commit 607e7e241c
7 changed files with 56 additions and 8 deletions

View File

@ -5,7 +5,13 @@ DATE : 2018-03-27T02:34:08+02:00
LICENSE : GNU-GPLv3
*/
#include <crypt.h>
#include "pam_panic_password.c"
#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);