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 |
28 |
|
#include <sys/types.h> |
29 |
|
#include <regex.h> |
30 |
|
|
31 |
+ |
#include "tools.h" |
32 |
+ |
|
33 |
|
char *f_read_line(FILE *f, const char *string){ |
34 |
|
/* Max line length. 8k should be more than enough */ |
35 |
|
static char line[8192]; |
52 |
|
|
53 |
|
return match_string; |
54 |
|
} |
55 |
+ |
|
56 |
|
#ifdef HAVE_ATOLL |
57 |
|
long long get_ll_match(char *line, regmatch_t *match){ |
58 |
|
char *ptr; |