diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-09-14 20:23:18 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-09-14 20:23:18 +0000 |
commit | 762e5ac93f08912c6daae6e83033b01332e914ab (patch) | |
tree | b7782b13f2ffe300f89dd3144a341b33afd4c363 /wiretap/pcap-encap.h | |
parent | 670dff46e451ca0e701bdafb5c13d75c42b261f6 (diff) | |
download | wireshark-762e5ac93f08912c6daae6e83033b01332e914ab.tar.gz |
Create a common libui using CMake similar to what we do with Autotools.
Move the GTK+ text import code to the common UI directory. Create
wtap_encap_requires_phdr() from code in file_import_dlg.c.
svn path=/trunk/; revision=44904
Diffstat (limited to 'wiretap/pcap-encap.h')
-rw-r--r-- | wiretap/pcap-encap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wiretap/pcap-encap.h b/wiretap/pcap-encap.h index 3644394807..6d0fa74fdd 100644 --- a/wiretap/pcap-encap.h +++ b/wiretap/pcap-encap.h @@ -30,7 +30,16 @@ #include <glib.h> #include <wiretap/wtap.h> +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + extern int wtap_pcap_encap_to_wtap_encap(int encap); extern int wtap_wtap_encap_to_pcap_encap(int encap); +extern gboolean wtap_encap_requires_phdr(int encap); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ #endif |