00001
00002
00003
00004
00005
00006 #ifndef _GROK_CAPTURE_XDR_H_RPCGEN
00007 #define _GROK_CAPTURE_XDR_H_RPCGEN
00008
00009 #include <rpc/rpc.h>
00010
00011
00012 #ifdef __cplusplus
00013 extern "C" {
00014 #endif
00015
00016
00017 struct grok_capture {
00018 int name_len;
00019 char *name;
00020 int subname_len;
00021 char *subname;
00022 int pattern_len;
00023 char *pattern;
00024 int id;
00025 int pcre_capture_number;
00026 int predicate_lib_len;
00027 char *predicate_lib;
00028 int predicate_func_name_len;
00029 char *predicate_func_name;
00030 struct {
00031 u_int extra_len;
00032 char *extra_val;
00033 } extra;
00034 };
00035 typedef struct grok_capture grok_capture;
00036
00037
00038
00039 #if defined(__STDC__) || defined(__cplusplus)
00040 extern bool_t xdr_grok_capture (XDR *, grok_capture*);
00041
00042 #else
00043 extern bool_t xdr_grok_capture ();
00044
00045 #endif
00046
00047 #ifdef __cplusplus
00048 }
00049 #endif
00050
00051 #endif