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.15 by ats, Fri Oct 24 17:00:26 2003 UTC vs.
Revision 1.19 by pajs, Tue Jan 6 22:28:41 2004 UTC

# Line 22 | Line 22
22   #ifdef NETBSD
23   #include <limits.h>
24   #endif
25 + #ifdef CYGWIN
26 + #include <sys/unistd.h>
27 + #endif
28  
29   typedef struct{
30          long long user;
# Line 57 | Line 60 | typedef struct{
60          double min15;
61   }load_stat_t;
62  
60 #ifdef SOLARIS
61 #define MAX_LOGIN_NAME_SIZE 8
62 #endif
63 #if defined(LINUX) || defined(FREEBSD)
64 #define MAX_LOGIN_NAME_SIZE UT_NAMESIZE
65 #endif
66 #ifdef NETBSD
67 #define MAX_LOGIN_NAME_SIZE _POSIX_LOGIN_NAME_MAX
68 #endif
69
63   typedef struct{
64          char *name_list;
65          int num_entries;
# Line 154 | Line 147 | page_stat_t *get_page_stats();
147   page_stat_t *get_page_stats_diff();
148  
149   int statgrab_init(void);
150 + int statgrab_drop_privileges(void);
151 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines