diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-11-17 14:03:17 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2013-11-17 14:03:17 +0000 |
commit | 983ea7664c904c666498fd34f13b81cc2eca2f5a (patch) | |
tree | 8be4ca5730407fa182aaf086c84f72b3fec8c615 /epan/geoip_db.h | |
parent | 768d2777a3dda24ca53f32feb9b82afc079fa6b5 (diff) |
Add extern C if cplusplus (when use with Qt) Add Modelines (and fix indent use 4 spaces for oids.h)
svn path=/trunk/; revision=53387
Diffstat (limited to 'epan/geoip_db.h')
-rw-r--r-- | epan/geoip_db.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/epan/geoip_db.h b/epan/geoip_db.h index 0408124fdd..8f18527be4 100644 --- a/epan/geoip_db.h +++ b/epan/geoip_db.h @@ -27,6 +27,10 @@ #ifndef __GEOIP_DB_H__ #define __GEOIP_DB_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + #include <epan/ipv6-utils.h> #include <epan/prefs.h> #include "ws_symbol_export.h" @@ -92,4 +96,21 @@ WS_DLL_PUBLIC const char *geoip_db_lookup_ipv6(guint dbnum, struct e_in6_addr ad */ WS_DLL_PUBLIC gchar *geoip_db_get_paths(void); +#ifdef __cplusplus +} +#endif /* __cplusplus */ + #endif /* __GEOIP_DB_H__ */ + +/* + * Editor modelines + * + * Local Variables: + * c-basic-offset: 4 + * tab-width: 8 + * indent-tabs-mode: nil + * End: + * + * ex: set shiftwidth=4 tabstop=8 expandtab: + * :indentSize=4:tabSize=8:noTabs=true: + */ |