05d8fe5d5f
LICENSE was renamed COPYING because otherwise `autoreconf` complains loudly. This is also the reason AUTHORS, INSTALL, and README were created. Man pages were moved into src/pam_panic/man and src/pam_panic_pw/man. Finally, certain variables are passed through the config.h file to the module rather than as -D flags on the command-line.
18 lines
326 B
C
18 lines
326 B
C
/*
|
|
FILENAME : pam_panic_password.h
|
|
AUTHOR : Bandie
|
|
DATE : 2018-03-27T02:34:08+02:00
|
|
LICENSE : GNU-GPLv3
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#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);
|
|
|
|
|
|
|