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

Comparing projects/libstatgrab/src/libstatgrab/tools.h (file contents):
Revision 1.7 by ats, Sun Oct 19 00:25:30 2003 UTC vs.
Revision 1.9 by pajs, Fri Jan 9 16:19:58 2004 UTC

# Line 20 | Line 20
20  
21   #include <stdio.h>
22   #include <regex.h>
23 < #ifdef FREEBSD
23 > #ifdef ALLBSD
24   #include <kvm.h>
25   #endif
26 + #ifdef NETBSD
27 + #include <uvm/uvm_extern.h>
28 + #endif
29  
30 + #ifndef HAVE_ATOLL
31 + static long long atoll(const char *s);
32 + #endif
33 +
34 + #ifndef HAVE_STRLCPY
35 + size_t strlcat(char *dst, const char *src, size_t siz);
36 + #endif
37 +
38 + #ifndef HAVE_STRLCPY
39 + size_t strlcpy(char *dst, const char *src, size_t siz);
40 + #endif
41 +
42 + long long get_ll_match(char *line, regmatch_t *match);
43 +
44   char *f_read_line(FILE *f, const char *string);
45  
46   char *get_string_match(char *line, regmatch_t *match);
47  
48 < #ifdef HAVE_ATOLL
49 < long long get_ll_match(char *line, regmatch_t *match);
48 > #ifdef ALLBSD
49 > kvm_t *get_kvm(void);
50   #endif
51  
52 < #ifdef FREEBSD
53 < kvm_t *get_kvm(void);
52 > #ifdef NETBSD
53 > struct uvmexp *get_uvmexp(void);
54   #endif
55 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines