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.4 by pajs, Sun Apr 6 11:57:54 2003 UTC vs.
Revision 1.9 by pajs, Fri Jan 9 16:19:58 2004 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 < * http://www.i-scream.org.uk
4 < * Copyright (C) 2000-2002 i-scream
3 > * http://www.i-scream.org
4 > * Copyright (C) 2000-2003 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
7   * modify it under the terms of the GNU General Public License
# Line 19 | Line 19
19   */
20  
21   #include <stdio.h>
22 #include <string.h>
23 #include <stdlib.h>
24 #include <sys/types.h>
22   #include <regex.h>
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 < #ifdef HAVE_ATOLL
48 < long long get_ll_match(char *line, regmatch_t *match);
47 >
48 > #ifdef ALLBSD
49 > kvm_t *get_kvm(void);
50   #endif
51 +
52 + #ifdef NETBSD
53 + struct uvmexp *get_uvmexp(void);
54 + #endif
55 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines