diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2006-05-02 14:26:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2006-05-02 14:26:17 +0000 |
commit | e3899ed4a43f006d51724d1fa05be20050968bd1 (patch) | |
tree | 3b6937dd3cfc7e7374855f1142c0bfcea1b1c49f /epan/dfilter/sttype-function.h | |
parent | 7edd136c889356810028c6fb291d8db69298beab (diff) |
Add infrastructure for display filter functions.
Add upper() and lower() display filter functions for string fields.
svn path=/trunk/; revision=18071
Diffstat (limited to 'epan/dfilter/sttype-function.h')
-rw-r--r-- | epan/dfilter/sttype-function.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/epan/dfilter/sttype-function.h b/epan/dfilter/sttype-function.h new file mode 100644 index 0000000000..b93f2e3273 --- /dev/null +++ b/epan/dfilter/sttype-function.h @@ -0,0 +1,42 @@ +/* + * $Id: sttype-test.h 11400 2004-07-18 00:24:25Z guy $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@zing.org> + * Copyright 2001 Gerald Combs + * + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * 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 STTYPE_FUNCTION_H +#define STTYPE_FUNCTION_H + +#include "dfunctions.h" + +/* Set the parameters for a function stnode_t. */ +void +sttype_function_set_params(stnode_t *node, GSList *params); + +/* Get the function-definition record for a function stnode_t. */ +df_func_def_t* sttype_function_funcdef(stnode_t *node); + +/* Get the parameters for a function stnode_t. */ +GSList* sttype_function_params(stnode_t *node); + +/* Free the memory of a param list */ +void st_funcparams_free(GSList *params); + +#endif |