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.20 by pajs, Fri Jan 9 16:31:55 2004 UTC

# Line 18 | Line 18
18   * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19   */
20  
21 #include <sys/types.h>
22 #ifdef NETBSD
23 #include <limits.h>
24 #endif
25
21   typedef struct{
22          long long user;
23          long long kernel;
# Line 57 | Line 52 | typedef struct{
52          double min15;
53   }load_stat_t;
54  
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
55   typedef struct{
56          char *name_list;
57          int num_entries;
# Line 154 | Line 139 | page_stat_t *get_page_stats();
139   page_stat_t *get_page_stats_diff();
140  
141   int statgrab_init(void);
142 + int statgrab_drop_privileges(void);
143 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines