]> git.armaanb.net Git - opendoas.git/blob - includes.h
add initial timestamp file support, disabled by default and only with shadow auth
[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 #ifdef HAVE_READPASSPHRASE_H
17 # include <readpassphrase.h>
18 #endif
19
20 #include "openbsd.h"
21
22 #ifdef HAVE_PAM_APPL_H
23 int pamauth(const char *, const char *, int, int);
24 #endif
25
26 #ifdef PERSIST_TIMESTAMP
27 int persist_open(int *, int);
28 int persist_set(int, int);
29 int persist_clear();
30 #endif
31
32 #endif /* INCLUDES_H */