commit
fd78f796c1
@ -1,5 +1,5 @@
|
||||
[![Build Status](https://travis-ci.org/pampanic/pam_panic.svg?branch=master)](https://travis-ci.org/pampanic/pam_panic)
|
||||
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/001445f05a4e47bcad151c2f6a05a29c)](https://app.codacy.com/app/pampanic/pam_panic?utm_source=github.com&utm_medium=referral&utm_content=pampanic/pam_panic&utm_campaign=badger)
|
||||
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/pampanic/pam_panic.svg?logo=lgtm&logoWidth=18)](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
|
||||
|
Loading…
Reference in New Issue
Block a user