diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-23 08:56:30 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-07-23 08:56:30 +0000 |
commit | ad78694e7640d60eb1a12c18fac3c02b2fe31333 (patch) | |
tree | 9067546a2d680549f76b259829b22ce2e74add86 /epan | |
parent | 6cff72548dee5e9bdce823d0c6a65b50b2c137d7 (diff) |
From Thomas ERSFELD (GSoC13) Prepare inclusion of Follow (TCP/UDP/SSL) feature in Qtshark
svn path=/trunk/; revision=50819
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-tcp.h | 8 | ||||
-rw-r--r-- | epan/follow.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h index 88b84cda43..4070acc289 100644 --- a/epan/dissectors/packet-tcp.h +++ b/epan/dissectors/packet-tcp.h @@ -24,6 +24,10 @@ #ifndef __PACKET_TCP_H__ #define __PACKET_TCP_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include "ws_symbol_export.h" #ifndef __CONVERSATION_H__ @@ -287,4 +291,8 @@ extern gboolean decode_tcp_ports(tvbuff_t *, int, packet_info *, proto_tree *, i */ extern void add_tcp_process_info(guint32 frame_num, address *local_addr, address *remote_addr, guint16 local_port, guint16 remote_port, guint32 uid, guint32 pid, gchar *username, gchar *command); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif diff --git a/epan/follow.h b/epan/follow.h index 585ea07438..cd92221aa5 100644 --- a/epan/follow.h +++ b/epan/follow.h @@ -27,6 +27,10 @@ #ifndef __FOLLOW_H__ #define __FOLLOW_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <epan/packet.h> #include "ws_symbol_export.h" @@ -63,4 +67,8 @@ typedef struct { WS_DLL_PUBLIC void follow_stats(follow_stats_t* stats); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif |