/usr/include/grok_discover.h is in libgrok-dev 1.20110708.1-4.3ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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_ */
|