aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfilter-macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dfilter/dfilter-macro.h')
-rw-r--r--epan/dfilter/dfilter-macro.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dfilter/dfilter-macro.h b/epan/dfilter/dfilter-macro.h
index bf30cbc53e..50c1cec04c 100644
--- a/epan/dfilter/dfilter-macro.h
+++ b/epan/dfilter/dfilter-macro.h
@@ -41,11 +41,14 @@ typedef struct _dfilter_macro_t {
typedef void (*dfilter_macro_cb_t)(dfilter_macro_t*, void*);
void dfilter_macro_foreach(dfilter_macro_cb_t, void*);
+/* save dfilter macros to a file */
+void dfilter_macro_save(const gchar*, gchar**);
+
/* dumps the macros in the list (debug info, not formated as in the macros file) */
void dfilter_macro_dump(void);
/* applies all macros to the given text and returns the resulting string or NULL on failure */
-gchar* dfilter_macro_apply(const gchar* text, guint depth, gchar** error);
+gchar* dfilter_macro_apply(const gchar* text, guint depth, const gchar** error);
void dfilter_macro_init(void);