diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c index d656d4f00b..fae8bdd423 100644 --- a/epan/dfilter/dfilter.c +++ b/epan/dfilter/dfilter.c @@ -1,5 +1,5 @@ /* - * $Id: dfilter.c,v 1.11 2002/08/28 20:40:55 jmayer Exp $ + * $Id: dfilter.c,v 1.12 2002/09/09 21:04:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -297,7 +297,7 @@ dfilter_apply_edt(dfilter_t *df, epan_dissect_t* edt) void -dfilter_prime_proto_tree(dfilter_t *df, proto_tree *tree) +dfilter_prime_proto_tree(const dfilter_t *df, proto_tree *tree) { int i; diff --git a/epan/dfilter/dfilter.h b/epan/dfilter/dfilter.h index 48c5f5c15f..4128215ea8 100644 --- a/epan/dfilter/dfilter.h +++ b/epan/dfilter/dfilter.h @@ -1,5 +1,5 @@ /* - * $Id: dfilter.h,v 1.6 2002/08/28 20:40:55 jmayer Exp $ + * $Id: dfilter.h,v 1.7 2002/09/09 21:04:15 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -78,7 +78,7 @@ dfilter_apply(dfilter_t *df, proto_tree *tree); /* Prime a proto_tree using the fields/protocols used in a dfilter. */ void -dfilter_prime_proto_tree(dfilter_t *df, proto_tree *tree); +dfilter_prime_proto_tree(const dfilter_t *df, proto_tree *tree); /* Print bytecode of dfilter to stdout */ void diff --git a/epan/epan.c b/epan/epan.c index 91e0ed944f..dece9175b6 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -1,9 +1,8 @@ /* epan.h * - * $Id: epan.c,v 1.20 2002/09/04 09:40:29 sahlberg Exp $ + * $Id: epan.c,v 1.21 2002/09/09 21:04:06 guy Exp $ * * Ethereal Protocol Analyzer Library - * */ #ifdef HAVE_CONFIG_H @@ -120,7 +119,7 @@ epan_dissect_free(epan_dissect_t* edt) } void -epan_dissect_prime_dfilter(epan_dissect_t *edt, dfilter_t* dfcode) +epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t* dfcode) { dfilter_prime_proto_tree(dfcode, edt->tree); } diff --git a/epan/epan.h b/epan/epan.h index 5e6a23788b..24b02a79a7 100644 --- a/epan/epan.h +++ b/epan/epan.h @@ -1,6 +1,6 @@ /* epan.h * - * $Id: epan.h,v 1.13 2002/08/28 20:40:44 jmayer Exp $ + * $Id: epan.h,v 1.14 2002/09/09 21:04:06 guy Exp $ * * Ethereal Protocol Analyzer Library * @@ -19,7 +19,6 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * */ #ifndef EPAN_H @@ -64,7 +63,7 @@ epan_dissect_run(epan_dissect_t *edt, void* pseudo_header, const guint8* data, frame_data *fd, column_info *cinfo); void -epan_dissect_prime_dfilter(epan_dissect_t *edt, dfilter_t*); +epan_dissect_prime_dfilter(epan_dissect_t *edt, const dfilter_t*); void epan_dissect_fill_in_columns(epan_dissect_t *edt);