| @@ -1,5 +1,5 @@ | ||||
| [](https://travis-ci.org/pampanic/pam_panic) | ||||
| [](https://app.codacy.com/app/pampanic/pam_panic?utm_source=github.com&utm_medium=referral&utm_content=pampanic/pam_panic&utm_campaign=badger) | ||||
| [](https://lgtm.com/projects/g/pampanic/pam_panic/context:cpp) | ||||
| # pam\_panic | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -8,10 +8,12 @@ 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 | ||||
|   | ||||
| @@ -8,6 +8,7 @@ LICENSE :      GNU-GPLv3 | ||||
| #ifndef PAM_PANIC_PASSWORD_H | ||||
| #define PAM_PANIC_PASSWORD_H | ||||
|  | ||||
|  | ||||
| #include "../config.h" | ||||
| #include <stdint.h> | ||||
| #include <security/pam_modules.h> | ||||
| @@ -19,4 +20,5 @@ LICENSE :      GNU-GPLv3 | ||||
|  | ||||
| int authPassword(pam_handle_t *pamh, char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff); | ||||
|  | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,9 +8,11 @@ LICENSE :      GNU-GPLv3 | ||||
| #ifndef PAM_PANIC_REJECT_H | ||||
| #define PAM_PANIC_REJECT_H | ||||
|  | ||||
|  | ||||
| #include "../config.h" | ||||
| #include <stdint.h> | ||||
|  | ||||
| int reject(char *serious_dev, int8_t bSerious, int8_t bReboot, int8_t bPoweroff); | ||||
|  | ||||
|  | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 GitHub
						GitHub