File: main.c

package info (click to toggle)
cfingerd 1.4.3-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 964 kB
  • sloc: ansic: 3,776; perl: 501; makefile: 137; sh: 73
file content (34 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * USERLIST
 * version 1.0.0
 *
 * by Ken Hollis for CFINGERD
 *
 * Released under the GPL for public/private use.
 */

#include "userlist.h"
#include "proto.h"

#if !defined(UT_USERSIZE) ||  !defined(UT_HOSTSIZE) ||  !defined(UT_LINESIZE) ||  !defined(UT_NAMESIZE)
struct utmp foo_utmp;
#endif

int main(int argc, char *argv[])
{
    initialize_userlist();

    if (argc > 1)
	handle_options(argc, argv);

    process_display();
    return 0;
}

/*
 * Local variables:
 *  c-indent-level: 4
 *  c-basic-offset: 4
 *  tab-width: 8
 * End:
 */