2018-04-01 02:09:00 +02:00
|
|
|
/*
|
|
|
|
FILENAME : pam_panic_authdevice.h
|
|
|
|
AUTHOR : Bandie
|
|
|
|
DATE : 2018-03-27T02:34:08+02:00
|
|
|
|
LICENSE : GNU-GPLv3
|
|
|
|
*/
|
|
|
|
|
2018-10-30 21:19:07 +01:00
|
|
|
#ifndef PAM_PANIC_AUTHDEVICE_H
|
|
|
|
#define PAM_PANIC_AUTHDEVICE_H
|
2018-10-30 21:21:40 +01:00
|
|
|
|
2018-10-30 22:05:05 +01:00
|
|
|
|
2018-09-21 22:48:13 +02:00
|
|
|
#include "../config.h"
|
2018-09-28 21:00:16 +02:00
|
|
|
#include <stdint.h>
|
|
|
|
#include <security/pam_modules.h>
|
2018-04-01 01:53:41 +02:00
|
|
|
|
2018-04-01 16:45:09 +02:00
|
|
|
int authDevice(pam_handle_t *pamh, char *allowed, char *rejected, char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff);
|
2018-10-30 21:19:07 +01:00
|
|
|
|
2018-10-30 22:05:05 +01:00
|
|
|
|
2018-10-30 21:19:07 +01:00
|
|
|
#endif
|