1a097bd00Smrg#include "sessreg.h" 2a097bd00Smrg 3a097bd00Smrg#ifdef UTMPX_FILE 4a097bd00Smrg# define UTF UTMPX_FILE 5a097bd00Smrg# define UTM utmpx 6b91640d3Smrg/* delete utmp-only content */ 7b91640d3Smrg/__BEGIN_UTMP_ONLY__/,/__END_UTMP_ONLY__/ d 8a097bd00Smrg#else 9a097bd00Smrg# define UTF UTMP_FILE 10a097bd00Smrg# define UTM utmp 11b91640d3Smrg/* delete utmpx-only content */ 12b91640d3Smrg/__BEGIN_UTMPX_ONLY__/,/__END_UTMPX_ONLY__/ d 13a097bd00Smrg#endif 14a097bd00Smrg 15a097bd00Smrg#ifdef WTMPX_FILE 16a097bd00Smrg# define WTF WTMPX_FILE 17b91640d3Smrg# define WTM wtmpx 18a097bd00Smrg#else 19a097bd00Smrg# define WTF WTMP_FILE 20b91640d3Smrg# define WTM wtmp 21a097bd00Smrg#endif 22a097bd00Smrg 23a097bd00Smrg#ifndef TTYS_FILE 24a097bd00Smrg# define TTYS_FILE "/etc/ttys" 25a097bd00Smrg#endif 26a097bd00Smrg 27a097bd00Smrg#ifndef LLOG_FILE 28a097bd00Smrg# define LLOG_FILE "/var/log/lastlog" 29a097bd00Smrg#endif 30a097bd00Smrg 31a097bd00Smrgs|__utmp_manpage__|UTM|g 32a097bd00Smrgs|__utmp_file__|UTF|g 33b91640d3Smrgs|__wtmp_manpage__|WTM|g 34a097bd00Smrgs|__wtmp_file__|WTF|g 35a097bd00Smrgs|__ttys_file__|TTYS_FILE|g 36a097bd00Smrgs|__lastlog_file__|LLOG_FILE|g 37