File: grok_capture.x

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-- 362 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

struct grok_capture {
  int name_len;
  string name<>;
  int subname_len;
  string subname<>;
  int pattern_len;
  string pattern<>;
  int id;
  int pcre_capture_number;

  int predicate_lib_len;
  string predicate_lib<>;
  int predicate_func_name_len;
  string predicate_func_name<>;

  /* predicate functions store personal data here. */
  opaque extra<>;
};