aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.h
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>1999-03-23 03:14:46 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>1999-03-23 03:14:46 +0000
commitef3dfe2077c3fd49997b7d9f3c31ba9f65ff27e2 (patch)
tree50607383870e1a22da46616611b6af517557c1e3 /packet-ospf.h
parente3db269e00f32936d8385aa04df895edcbed1547 (diff)
downloadwireshark-ef3dfe2077c3fd49997b7d9f3c31ba9f65ff27e2.tar.gz
wireshark-ef3dfe2077c3fd49997b7d9f3c31ba9f65ff27e2.tar.bz2
wireshark-ef3dfe2077c3fd49997b7d9f3c31ba9f65ff27e2.zip
Removed all references to gtk objects from packet*.[ch] files. They now
reference the protocol tree with struct proto_tree and struct proto_item objects. That way, the packet decoding source code file can be used with non-gtk packet decoders, like a curses-based ethereal, e.g. I also re-arranged some of the information in packet.h to more appropriate places (like other packet-*.[ch] files). svn path=/trunk/; revision=223
Diffstat (limited to 'packet-ospf.h')
-rw-r--r--packet-ospf.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/packet-ospf.h b/packet-ospf.h
index fec845cd66..7c64e668f5 100644
--- a/packet-ospf.h
+++ b/packet-ospf.h
@@ -122,14 +122,14 @@ typedef struct _e_ospf_asexternal_lsa {
} e_ospf_asexternal_lsa;
-void dissect_ospf_hello(const u_char*, int, frame_data*, GtkTree*);
-void dissect_ospf_db_desc(const u_char*, int, frame_data*, GtkTree*);
-void dissect_ospf_ls_req(const u_char*, int, frame_data*, GtkTree*);
-void dissect_ospf_ls_upd(const u_char*, int, frame_data*, GtkTree*);
-void dissect_ospf_ls_ack(const u_char*, int, frame_data*, GtkTree*);
+void dissect_ospf_hello(const u_char*, int, frame_data*, proto_tree*);
+void dissect_ospf_db_desc(const u_char*, int, frame_data*, proto_tree*);
+void dissect_ospf_ls_req(const u_char*, int, frame_data*, proto_tree*);
+void dissect_ospf_ls_upd(const u_char*, int, frame_data*, proto_tree*);
+void dissect_ospf_ls_ack(const u_char*, int, frame_data*, proto_tree*);
/* dissect_ospf_lsa returns the length of the LSA
* if disassemble_body is set to FALSE (e.g. in LSA ACK
* packets), the LSA-header length is returned (20)
*/
-int dissect_ospf_lsa(const u_char*, int, frame_data*, GtkTree*, int disassemble_body);
+int dissect_ospf_lsa(const u_char*, int, frame_data*, proto_tree*, int disassemble_body);