aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/sctp_stat.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-02-06 20:53:54 +0000
committerGuy Harris <guy@alum.mit.edu>2005-02-06 20:53:54 +0000
commita6694a746ff0ff2402e3989dfb3cf135122cf821 (patch)
tree49c57acd6f392f13dd2d2b2347a8068b26e0c259 /gtk/sctp_stat.h
parentc3440553ebacf33771d5dcbe3431bac0bfa6c60c (diff)
Clean up indentation.
Make "reset()" static (it's not used outside "sctp_stat.c"), and fix its prototype to match what's expected for a reset routine passed to "register_tap_listener()". Similarly, fix the prototypes of other routines passed to "register_tap_listener()", and get rid of the casts of pointers to those functions to "void *". Fix some declarations in "sctp_stat.h" to have function prototypes. svn path=/trunk/; revision=13319
Diffstat (limited to 'gtk/sctp_stat.h')
-rw-r--r--gtk/sctp_stat.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/gtk/sctp_stat.h b/gtk/sctp_stat.h
index 1fe03146c6..400a31bba0 100644
--- a/gtk/sctp_stat.h
+++ b/gtk/sctp_stat.h
@@ -188,10 +188,10 @@ typedef struct _sctp_error_info {
typedef struct _sctp_allassocs_info {
-guint32 sum_tvbs;
-GList* assoc_info_list;
-gboolean is_registered;
-GList* children;
+ guint32 sum_tvbs;
+ GList* assoc_info_list;
+ gboolean is_registered;
+ GList* children;
} sctp_allassocs_info_t;
@@ -286,9 +286,6 @@ void sctp_stat_scan(void);
void remove_tap_listener_sctp_stat(void);
-void reset(sctp_allassocs_info_t *tapdata _U_);
-
-
void assoc_analyse(sctp_assoc_info_t* assoc);
const sctp_assoc_info_t* get_selected_assoc(void);
@@ -297,7 +294,7 @@ void create_graph(guint16 dir, struct sctp_analyse* u_data);
void create_byte_graph(guint16 dir, struct sctp_analyse* u_data);
-void sctp_error_dlg_show();
+void sctp_error_dlg_show(sctp_assoc_info_t* assoc);
void sctp_stat_dlg_update(void);
@@ -315,11 +312,10 @@ void set_child(struct sctp_udata *child, struct sctp_analyse *parent);
void remove_child(struct sctp_udata *child, struct sctp_analyse *parent);
-void decrease_analyse_childcount();
+void decrease_analyse_childcount(void);
-void increase_analyse_childcount();
+void increase_analyse_childcount(void);
void set_analyse_child(struct sctp_analyse *child);
void remove_analyse_child(struct sctp_analyse *child);
-