Home | History | Annotate | Line # | Download | only in libhack
      1 /*	$NetBSD: utmp.c,v 1.5 2003/07/26 17:07:37 salo Exp $	*/
      2 
      3 /*
      4  * Written by Gordon W. Ross <gwr (at) NetBSD.org>
      5  * Public domain.
      6  */
      7 
      8 /* Simplified (do nothing:) */
      9 #include <sys/types.h>
     10 #include <utmp.h>
     11 #include <util.h>
     12 
     13 void
     14 login(ut)
     15 	const struct utmp *ut;
     16 {
     17 }
     18 
     19 void
     20 loginx(ut)
     21 	const struct utmpx *ut;
     22 {
     23 }
     24 
     25 int
     26 logout(line)
     27 	const char *line;
     28 {
     29 	return(0);
     30 }
     31 
     32 int
     33 logoutx(line, status, type)
     34 	const char *line;
     35 	int status, type;
     36 {
     37 	return(0);
     38 }
     39 
     40 void
     41 logwtmp(line, name, host)
     42 	const char *line, *name, *host;
     43 {
     44 }
     45 
     46 void
     47 logwtmpx(line, name, host, status, type)
     48 	const char *line, *name, *host;
     49 	int status, type;
     50 {
     51 }
     52