/usr/include/grok_capture_xdr.h is in libgrok-dev 1.20110708.1-4.1ubuntu1.
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 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | /*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _GROK_CAPTURE_XDR_H_RPCGEN
#define _GROK_CAPTURE_XDR_H_RPCGEN
#include <rpc/rpc.h>
#ifdef __cplusplus
extern "C" {
#endif
struct grok_capture {
int name_len;
char *name;
int subname_len;
char *subname;
int pattern_len;
char *pattern;
int id;
int pcre_capture_number;
int predicate_lib_len;
char *predicate_lib;
int predicate_func_name_len;
char *predicate_func_name;
struct {
u_int extra_len;
char *extra_val;
} extra;
};
typedef struct grok_capture grok_capture;
/* the xdr functions */
#if defined(__STDC__) || defined(__cplusplus)
extern bool_t xdr_grok_capture (XDR *, grok_capture*);
#else /* K&R C */
extern bool_t xdr_grok_capture ();
#endif /* K&R C */
#ifdef __cplusplus
}
#endif
#endif /* !_GROK_CAPTURE_XDR_H_RPCGEN */
|