ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/docs/user_list.txt
Revision: 1.3
Committed: Thu Oct 2 16:30:54 2003 UTC (20 years, 7 months ago) by tdb
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
State: FILE REMOVED
Log Message:
Dropped the old text documentation in favour of manpages.

File Contents

# User Rev Content
1 tdb 1.2 User Statistics
2     ===============
3 pajs 1.1
4 tdb 1.3 $Id: user_list.txt,v 1.2 2003/08/24 20:36:25 tdb Exp $
5 tdb 1.2
6     Data Structure
7     --------------
8    
9     A structure of type user_stat_t is used:
10 pajs 1.1
11     typedef struct{
12     char *name_list;
13     int num_entries;
14     }user_stat_t;
15    
16 tdb 1.2 name_list contains a space seperated list of the logged in users.
17     num_entries is the number of users logged in.
18    
19     Functions
20     ---------
21    
22     user_stat_t *get_user_stats();
23    
24     get_user_stats() returns a static user_stat_t structure.
25    
26     Examples
27     --------
28 pajs 1.1
29 tdb 1.2 An example can be found in examples/user_list.c