/* filters.c
* Code for reading and writing the filters file.
*
- * $Id: filters.c,v 1.15 2002/08/28 21:00:06 jmayer Exp $
+ * $Id: filters.c,v 1.16 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
* Returns a pointer to the newly-added entry.
*/
GList *
-add_to_filter_list(filter_list_type_t list, char *name, char *expression)
+add_to_filter_list(filter_list_type_t list, const char *name,
+ const char *expression)
{
GList **flp;
filter_def *filt;
/* filters.c
* Declarations of routines for reading and writing the filters file.
*
- * $Id: filters.h,v 1.3 2002/08/28 21:00:06 jmayer Exp $
+ * $Id: filters.h,v 1.4 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
* Add a new filter to the end of a list.
* Returns a pointer to the newly-added entry.
*/
-GList *add_to_filter_list(filter_list_type_t list, char *name,
- char *expression);
+GList *add_to_filter_list(filter_list_type_t list, const char *name,
+ const char *expression);
/*
* Remove a filter from a list.
/* dcerpc_stat.c
* dcerpc_stat 2002 Ronnie Sahlberg
*
- * $Id: dcerpc_stat.c,v 1.28 2003/11/10 07:44:47 sahlberg Exp $
+ * $Id: dcerpc_stat.c,v 1.29 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *vers_label;
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
- char *filter;
+ const char *filter;
static construct_args_t args = {
"Service Response Time Statistics Filter",
TRUE,
* endpoint_talkers_table 2003 Ronnie Sahlberg
* Helper routines common to all endpoint talkers tap.
*
- * $Id: endpoint_talkers_table.c,v 1.23 2003/10/07 17:29:45 guy Exp $
+ * $Id: endpoint_talkers_table.c,v 1.24 2003/12/04 00:45:37 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
endpoints_table *et = (endpoints_table *)callback_data;
char dirstr[128];
char str[256];
- char *current_filter;
+ const char *current_filter;
char *sport, *dport;
action=(callback_action>>16)&0xff;
/* fc_stat.c
* fc_stat 2003 Ronnie Sahlberg
*
- * $Id: fc_stat.c,v 1.13 2003/10/27 01:35:53 sharpe Exp $
+ * $Id: fc_stat.c,v 1.14 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
- char *filter;
+ const char *filter;
static construct_args_t args = {
"Service Response Time Statistics Filter",
TRUE,
* (This used to be a notebook page under "Preferences", hence the
* "prefs" in the file name.)
*
- * $Id: filter_prefs.c,v 1.45 2003/04/21 19:43:44 guy Exp $
+ * $Id: filter_prefs.c,v 1.46 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *filter_l = OBJECT_GET_DATA(main_w, E_FILT_FILTER_L_KEY);
filter_list_type_t list = *(filter_list_type_t *)data;
GList *fl_entry;
- gchar *name, *strval;
+ const gchar *name, *strval;
new_filter_cb_args_t args;
name = gtk_entry_get_text(GTK_ENTRY(name_te));
/* find_dlg.c
* Routines for "find frame" window
*
- * $Id: find_dlg.c,v 1.39 2003/11/28 19:01:43 ulfl Exp $
+ * $Id: find_dlg.c,v 1.40 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
{
GtkWidget *filter_te, *backward_rb, *hex_rb, *ascii_rb, *combo_cb,
*case_cb, *decode_data_rb, *summary_data_rb;
- gchar *filter_text, *string_type;
+ const gchar *filter_text, *string_type;
search_charset_t scs_type = SCS_ASCII_AND_UNICODE;
guint8 *bytes = NULL;
size_t nbytes;
* h225 message counter for ethereal
* Copyright 2003 Lars Roland
*
- * $Id: h225_counter.c,v 1.1 2003/10/28 00:31:17 guy Exp $
+ * $Id: h225_counter.c,v 1.2 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static void
gtk_h225counter_cb(GtkWidget *w _U_, gpointer d _U_)
{
- char *filter;
+ const char *filter;
char *title;
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_label;
* h225 RAS Service Response Time statistics for ethereal
* Copyright 2003 Lars Roland
*
- * $Id: h225_ras_srt.c,v 1.1 2003/11/16 23:11:20 sahlberg Exp $
+ * $Id: h225_ras_srt.c,v 1.2 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static void
gtk_h225rassrt_cb(GtkWidget *w _U_, gpointer d _U_)
{
- char *filter;
+ const char *filter;
char *title;
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_label;
/* ldap_stat.c
* ldap_stat 2003 Ronnie Sahlberg
*
- * $Id: ldap_stat.c,v 1.1 2003/11/05 09:04:51 sahlberg Exp $
+ * $Id: ldap_stat.c,v 1.2 2003/12/04 00:45:38 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
- char *filter;
+ const char *filter;
static construct_args_t args = {
"Service Response Time Statistics Filter",
TRUE,
* mgcp-statistics for ethereal
* Copyright 2003 Lars Roland
*
- * $Id: mgcp_stat.c,v 1.17 2003/09/26 02:09:44 guy Exp $
+ * $Id: mgcp_stat.c,v 1.18 2003/12/04 00:45:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static void
gtk_mgcpstat_cb(GtkWidget *w _U_, gpointer d _U_)
{
- char *filter;
+ const char *filter;
char *title;
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_label;
/* prefs_dlg.c
* Routines for handling preferences
*
- * $Id: prefs_dlg.c,v 1.67 2003/12/03 09:28:25 guy Exp $
+ * $Id: prefs_dlg.c,v 1.68 2003/12/04 00:45:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
static guint
pref_fetch(pref_t *pref, gpointer user_data)
{
- char *str_val;
+ const char *str_val;
char *p;
guint uval;
gboolean bval;
/* rpc_stat.c
* rpc_stat 2002 Ronnie Sahlberg
*
- * $Id: rpc_stat.c,v 1.24 2003/10/27 01:20:16 sharpe Exp $
+ * $Id: rpc_stat.c,v 1.25 2003/12/04 00:45:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
int i;
- char *filter;
+ const char *filter;
static construct_args_t args = {
"Service Response Time Statistics Filter",
TRUE,
* Helper routines common to all service response time statistics
* tap.
*
- * $Id: service_response_time_table.c,v 1.10 2003/11/05 09:04:17 sahlberg Exp $
+ * $Id: service_response_time_table.c,v 1.11 2003/12/04 00:45:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
int action, type, selection;
srt_stat_table *rst = (srt_stat_table *)callback_data;
char str[256];
- char *current_filter;
+ const char *current_filter;
if(rst->filter_string==NULL){
/* smb_stat.c
* smb_stat 2003 Ronnie Sahlberg
*
- * $Id: smb_stat.c,v 1.24 2003/10/27 01:20:16 sharpe Exp $
+ * $Id: smb_stat.c,v 1.25 2003/12/04 00:45:39 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
GtkWidget *dlg_box;
GtkWidget *filter_box, *filter_bt;
GtkWidget *bbox, *start_button, *cancel_button;
- char *filter;
+ const char *filter;
static construct_args_t args = {
"Service Response Time Statistics Filter",
TRUE,