Tizen 2.0 Release
[framework/uifw/xorg/util/x11-xserver-utils.git] / sessreg / man / filenames.sed.c
1 #include "sessreg.h"
2
3 #ifdef UTMPX_FILE
4 # define UTF UTMPX_FILE
5 # define UTM utmpx
6 #else
7 # define UTF UTMP_FILE
8 # define UTM utmp
9 #endif
10
11 #ifdef WTMPX_FILE
12 # define WTF WTMPX_FILE
13 #else
14 # define WTF WTMP_FILE
15 #endif
16
17 #ifndef TTYS_FILE
18 # define TTYS_FILE "/etc/ttys"
19 #endif
20
21 #ifndef LLOG_FILE
22 # define LLOG_FILE "/var/log/lastlog"
23 #endif
24
25 s|__utmp_manpage__|UTM|g
26 s|__utmp_file__|UTF|g
27 s|__wtmp_file__|WTF|g
28 s|__ttys_file__|TTYS_FILE|g
29 s|__lastlog_file__|LLOG_FILE|g