File: grok_capture_xdr.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 (51 lines) | stat: -rw-r--r-- 843 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
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 */