X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=includes.h;h=401a0e4f22d28fba3dd969bb38b69bb3ab8554cc;hb=a3264b9072fa61ac1a834445d6b2d80860f58435;hp=b08e93c707064954313932850f52926f2daab6db;hpb=861d30f4b90c5312b33358caea08e8e26fc24818;p=opendoas.git diff --git a/includes.h b/includes.h index b08e93c..401a0e4 100644 --- a/includes.h +++ b/includes.h @@ -1,22 +1,25 @@ #ifndef INCLUDES_H #define INCLUDES_H -#ifndef __UNUSED -# define __UNUSED __attribute__ ((unused)) +#ifndef _PATH_TTY +# define _PATH_TTY "/dev/tty" #endif -#ifndef __dead -# define __dead -#endif -#ifndef _PATH_TTY -# define _PATH_TTY "/dev/tty" +#include "openbsd.h" + +#ifdef USE_PAM +void pamauth(const char *, const char *, int, int, int); #endif -#ifdef HAVE_READPASSPHRASE_H -# include +#ifdef USE_SHADOW +void shadowauth(const char *, int); #endif -#include "openbsd.h" +#ifdef USE_TIMESTAMP +int timestamp_open(int *, int); +int timestamp_set(int, int); +int timestamp_clear(void); +#endif #endif /* INCLUDES_H */