]> git.armaanb.net Git - opendoas.git/blob - includes.h
libopenbsd: clean up readpassphrase compat and fix ifdefs
[opendoas.git] / includes.h
1 #ifndef INCLUDES_H
2 #define INCLUDES_H
3
4 #include "openbsd.h"
5
6 #ifdef USE_PAM
7 void pamauth(const char *, const char *, int, int, int);
8 #endif
9
10 #ifdef USE_SHADOW
11 void shadowauth(const char *, int);
12 #endif
13
14 #ifdef USE_TIMESTAMP
15 int timestamp_open(int *, int);
16 int timestamp_set(int, int);
17 int timestamp_clear(void);
18 #endif
19
20 #endif /* INCLUDES_H */