]> git.armaanb.net Git - opendoas.git/blob - includes.h
Add doas style prompt for pam authentication
[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 doas_pam(char *name, int interactive, int nopass);
24 #endif
25
26 #endif /* INCLUDES_H */