diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-01-24 19:03:09 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-01-24 19:03:09 +0000 |
commit | 3f3aae16813ddd4e84377bfd2212292cb3151c21 (patch) | |
tree | a7b36de96645f769582c7a027f1b5f48de6518bd /epan/frame_data.h | |
parent | 84c18745fed7dbf205029846d1092b7263ff8826 (diff) |
minor code cleanup
svn path=/trunk/; revision=17093
Diffstat (limited to 'epan/frame_data.h')
-rw-r--r-- | epan/frame_data.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/epan/frame_data.h b/epan/frame_data.h index 3b61c06e3e..6b81dc9893 100644 --- a/epan/frame_data.h +++ b/epan/frame_data.h @@ -29,17 +29,6 @@ #include "tvbuff.h" #include <epan/nstime.h> -#if 0 -/* Defined in color.h */ -#ifndef __COLOR_H__ -typedef struct _color_t /* { - guint32 pixel; - guint16 red; - guint16 green; - guint16 blue; -} */ color_t; -#endif -#endif /* XXX - some of this stuff is used only while a packet is being dissected; should we keep that stuff in the "packet_info" structure, instead, to @@ -81,8 +70,8 @@ typedef struct { /* Utility routines used by packet*.c */ -extern void p_add_proto_data(frame_data *, int, void *); -extern void *p_get_proto_data(frame_data *, int); -extern void p_rem_proto_data(frame_data *fd, int proto); +extern void p_add_proto_data(frame_data *fd, int proto, void *proto_data); +extern void *p_get_proto_data(frame_data *fd, int proto); +extern void p_remove_proto_data(frame_data *fd, int proto); #endif /* __FRAME_DATA__ */ |