pam_panic/src/pam_panic/pam_panic_authdevice.h
2018-10-30 22:05:05 +01:00

20 lines
421 B
C

/*
FILENAME : pam_panic_authdevice.h
AUTHOR : Bandie
DATE : 2018-03-27T02:34:08+02:00
LICENSE : GNU-GPLv3
*/
#ifndef PAM_PANIC_AUTHDEVICE_H
#define PAM_PANIC_AUTHDEVICE_H
#include "../config.h"
#include <stdint.h>
#include <security/pam_modules.h>
int authDevice(pam_handle_t *pamh, char *allowed, char *rejected, char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff);
#endif