summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-13 18:59:51 +0000
committered <ed@FreeBSD.org>2010-01-13 18:59:51 +0000
commitfc12a579a0a06596dc1b73d257d1b9751d747ce9 (patch)
tree6a9f013d6418c72a50d9746b0cde667930a59591 /lib/libutil/libutil.h
parentfee8e21b50dac7cfc13624b364dc2947480b06fd (diff)
downloadFreeBSD-src-fc12a579a0a06596dc1b73d257d1b9751d747ce9.zip
FreeBSD-src-fc12a579a0a06596dc1b73d257d1b9751d747ce9.tar.gz
Remove login(3), logout(3) and logwtmp(3) from libutil.
These functions only apply to utmp(5). They cannot be kept intact when moving towards utmpx. The login(3) function would break, because its argument is an utmp structure. The logout(3) and logwtmp(3) functions cannot be used, since they provide a functionality which partially overlaps. Increment SHLIB_MAJOR to 9 to indicate the removal.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index fca133f..4c2ee3b 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -90,7 +90,6 @@ struct pidfh {
/* Avoid pulling in all the include files for no need */
struct termios;
struct winsize;
-struct utmp;
struct in_addr;
struct kinfo_file;
struct kinfo_vmentry;
@@ -102,10 +101,7 @@ int extattr_namespace_to_string(int _attrnamespace, char **_string);
int extattr_string_to_namespace(const char *_string, int *_attrnamespace);
int flopen(const char *_path, int _flags, ...);
void hexdump(const void *ptr, int length, const char *hdr, int flags);
-void login(struct utmp *_ut);
int login_tty(int _fd);
-int logout(const char *_line);
-void logwtmp(const char *_line, const char *_name, const char *_host);
void trimdomain(char *_fullhost, int _hostsize);
int openpty(int *_amaster, int *_aslave, char *_name,
struct termios *_termp, struct winsize *_winp);
OpenPOWER on IntegriCloud