File: grok_discover.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 (22 lines) | stat: -rw-r--r-- 651 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
20
21
22
/**
 * @file grok_discover.h
 */
#ifndef _GROK_DISCOVER_H_
#define _GROK_DISCOVER_H_
#include <grok.h>

typedef struct grok_discover {
  TCTREE *complexity_tree;
  grok_t *base_grok;
  unsigned int logmask;
  unsigned int logdepth;
} grok_discover_t;

grok_discover_t *grok_discover_new(grok_t *source_grok);
void grok_discover_init(grok_discover_t *gdt, grok_t *source_grok);
void grok_discover_clean(grok_discover_t *gdt);
void grok_discover_free(grok_discover_t *gdt);
void grok_discover(const grok_discover_t *gdt, /*grok_t *dest_grok,*/
                   const char *input, char **discovery, int *discovery_len);

#endif /* _GROK_DISCOVER_H_ */