diff options
author | Bill Meier <wmeier@newsguy.com> | 2007-11-28 22:44:37 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2007-11-28 22:44:37 +0000 |
commit | b436aeaf5fa8d5f01d543b8a6a907acba1a93dbe (patch) | |
tree | 72eccb5e720a50bf710bd65108457e0c92b07900 /epan/dfilter/dfilter-int.h | |
parent | 6d4dda3327edbaefb333eeee0d957ae031a31fae (diff) | |
download | wireshark-b436aeaf5fa8d5f01d543b8a6a907acba1a93dbe.tar.gz |
From Didier Gautheron: Bug #2042: Move constants initialisation at compile time.
svn path=/trunk/; revision=23659
Diffstat (limited to 'epan/dfilter/dfilter-int.h')
-rw-r--r-- | epan/dfilter/dfilter-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dfilter/dfilter-int.h b/epan/dfilter/dfilter-int.h index 059a6b75af..f66e7c8a4c 100644 --- a/epan/dfilter/dfilter-int.h +++ b/epan/dfilter/dfilter-int.h @@ -32,7 +32,9 @@ /* Passed back to user */ struct _dfilter_t { GPtrArray *insns; + GPtrArray *consts; int num_registers; + int max_registers; GList **registers; gboolean *attempted_load; int *interesting_fields; @@ -44,10 +46,13 @@ typedef struct { stnode_t *st_root; gboolean syntax_error; GPtrArray *insns; + GPtrArray *consts; GHashTable *loaded_fields; GHashTable *interesting_fields; int next_insn_id; + int next_const_id; int next_register; + int first_constant; /* first register used as a constant */ } dfwork_t; /* Constructor/Destructor prototypes for Lemon Parser */ |