]> git.armaanb.net Git - opendoas.git/blob - includes.h
timestamp: error out if fstat and lstat st_ino and st_dev are not the same
[opendoas.git] / includes.h
1 #ifndef INCLUDES_H
2 #define INCLUDES_H
3
4 #ifndef __UNUSED
5 # define __UNUSED __attribute__ ((unused))
6 #endif
7
8 #ifndef __dead
9 # define __dead
10 #endif
11
12 #ifndef _PATH_TTY
13 # define _PATH_TTY "/dev/tty"
14 #endif
15
16
17 #include "openbsd.h"
18
19 #ifdef USE_PAM
20 void pamauth(const char *, const char *, int, int, int);
21 #endif
22
23 #ifdef USE_SHADOW
24 void shadowauth(const char *, int);
25 #endif
26
27 #ifdef USE_TIMESTAMP
28 int timestamp_open(int *, int);
29 int timestamp_set(int, int);
30 int timestamp_clear(void);
31 #endif
32
33 #endif /* INCLUDES_H */