X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=include%2Futmp.h;h=92519c2e570734fbe68ef26a37f713809bc0a349;hp=ff3e45e155f9e12070c2dcf18eac98d5427b5d53;hb=6f26cf3dacf9d426bbd18cecb4d486da56c17351;hpb=eee150f39c294883841d4f3ad9ce290ea1529a9e diff --git a/include/utmp.h b/include/utmp.h index ff3e45e1..92519c2e 100644 --- a/include/utmp.h +++ b/include/utmp.h @@ -7,6 +7,10 @@ extern "C" { #include +#define ACCOUNTING 9 +#define UT_NAMESIZE 32 +#define UT_HOSTSIZE 256 + #define ut_time ut_tv.tv_sec #define ut_name ut_user #define ut_exit __ut_exit @@ -22,6 +26,8 @@ struct utmp *getutline(const struct utmp *); struct utmp *pututline(const struct utmp *); void setutent(void); +void updwtmp(const char *, const struct utmp *); + #define _PATH_UTMP "/dev/null" #define _PATH_WTMP "/dev/null"