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

Comparing projects/libstatgrab/src/libstatgrab/statgrab.h (file contents):
Revision 1.17 by tdb, Tue Nov 11 10:27:04 2003 UTC vs.
Revision 1.21 by pajs, Fri Jan 9 22:06:47 2004 UTC

# Line 19 | Line 19
19   */
20  
21   #include <sys/types.h>
22 #ifdef NETBSD
23 #include <limits.h>
24 #endif
25 #ifdef CYGWIN
26 #include <sys/unistd.h>
27 #endif
22  
23   typedef struct{
24          long long user;
# Line 60 | Line 54 | typedef struct{
54          double min15;
55   }load_stat_t;
56  
63 #ifdef SOLARIS
64 #define MAX_LOGIN_NAME_SIZE 8
65 #endif
66 #if defined(LINUX) || defined(FREEBSD)
67 #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE
68 #endif
69 #ifdef NETBSD
70 #define MAX_LOGIN_NAME_SIZE _POSIX_LOGIN_NAME_MAX
71 #endif
72 #if defined(CYGWIN)
73 #define MAX_LOGIN_NAME_SIZE _SC_LOGIN_NAME_MAX
74 #endif
75
57   typedef struct{
58          char *name_list;
59          int num_entries;
# Line 160 | Line 141 | page_stat_t *get_page_stats();
141   page_stat_t *get_page_stats_diff();
142  
143   int statgrab_init(void);
144 + int statgrab_drop_privileges(void);
145 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines