X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=doas.h;h=c38fca2de968c017516d847c43b76768237c2384;hb=29123f7c5b7cfb79419425ad4d2b7af153e06472;hp=de8dbe1c18495cd5fab1d3fe1eeddce8ac16d0aa;hpb=1530e7aa087276696db7d321a1b9164a49ddea4b;p=opendoas.git diff --git a/doas.h b/doas.h index de8dbe1..c38fca2 100644 --- a/doas.h +++ b/doas.h @@ -43,3 +43,17 @@ char **prepenv(const struct rule *, const struct passwd *, #define KEEPENV 0x2 #define PERSIST 0x4 #define NOLOG 0x8 + +#ifdef USE_PAM +void pamauth(const char *, const char *, int, int, int); +#endif + +#ifdef USE_SHADOW +void shadowauth(const char *, int); +#endif + +#ifdef USE_TIMESTAMP +int timestamp_open(int *, int); +int timestamp_set(int, int); +int timestamp_clear(void); +#endif