File: predicates.h

package info (click to toggle)
grok 1.20110708.1-4.3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,460 kB
  • sloc: ansic: 3,469; ruby: 987; makefile: 276; sh: 124; yacc: 106
file content (19 lines) | stat: -rw-r--r-- 582 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef _PREDICATES_H_
#define _PREDICATES_H_

#include <pcre.h>
#include "grok.h"

/* Regular Expression Predicate
 * Activate with operator '=~'
 */

int grok_predicate_regexp_init(grok_t *grok, grok_capture *gct,
                               const char *args, int args_len);
int grok_predicate_numcompare_init(grok_t *grok, grok_capture *gct,
                                   const char *args, int args_len);
int grok_predicate_strcompare_init(grok_t *grok, grok_capture *gct,
                                   const char *args, int args_len);


#endif /* _PREDICATES_H_ */