ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/docs/user_list.txt
(Generate patch)

Comparing projects/libstatgrab/docs/user_list.txt (file contents):
Revision 1.1 by pajs, Sun Aug 24 20:20:09 2003 UTC vs.
Revision 1.2 by tdb, Sun Aug 24 20:36:25 2003 UTC

# Line 1 | Line 1
1 < user_stats() returns a static user_stat_t structure.
1 > User Statistics
2 > ===============
3  
4 < user_stat_t *get_user_stats();
4 > $Id$
5  
6 + Data Structure
7 + --------------
8 +
9 + A structure of type user_stat_t is used:
10 +
11   typedef struct{
12          char *name_list;
13          int num_entries;
14   }user_stat_t;
15  
16 < name_list contains a list of all the logged in users. The
17 < list is a single char * and the users are space seperated.
16 > name_list       contains a space seperated list of the logged in users.
17 > num_entries     is the number of users logged in.
18  
19 < num_entries contains the number of users logged in.
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 >
29 > An example can be found in examples/user_list.c

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines