]> git.armaanb.net Git - opendoas.git/blob - includes.h
libopenbsd: define __dead as noreturn
[opendoas.git] / includes.h
1 #ifndef INCLUDES_H
2 #define INCLUDES_H
3
4 #ifndef _PATH_TTY
5 # define _PATH_TTY "/dev/tty"
6 #endif
7
8
9 #include "openbsd.h"
10
11 #ifdef USE_PAM
12 void pamauth(const char *, const char *, int, int, int);
13 #endif
14
15 #ifdef USE_SHADOW
16 void shadowauth(const char *, int);
17 #endif
18
19 #ifdef USE_TIMESTAMP
20 int timestamp_open(int *, int);
21 int timestamp_set(int, int);
22 int timestamp_clear(void);
23 #endif
24
25 #endif /* INCLUDES_H */