Files
screen/src/utmp.h
2016-06-18 15:08:28 +02:00

23 lines
438 B
C

#ifndef SCREEN_UTMP_H
#define SCREEN_UTMP_H
#include "config.h"
#include "window.h"
#ifdef ENABLE_UTMP
void InitUtmp (void);
void RemoveLoginSlot (void);
void RestoreLoginSlot (void);
int SetUtmp (Window *);
int RemoveUtmp (Window *);
#endif /* ENABLE_UTMP */
void SlotToggle (bool);
#ifdef CAREFULUTMP
void CarefulUtmp (void);
#else
# define CarefulUtmp() /* nothing */
#endif /* CAREFULUTMP */
#endif /* SCREEN_UTMP_H */