summaryrefslogtreecommitdiff
path: root/epan/uat-int.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-07-25 23:49:47 +0000
committerGerald Combs <gerald@wireshark.org>2013-07-25 23:49:47 +0000
commita05f55bffc2bc7d52d3f35370a7ae1eea2b75839 (patch)
tree94644ff0a3cc6cf339a165087ddbfb0c1e553760 /epan/uat-int.h
parent7d73903af6209ef1b013c6ed61c866291bfb3785 (diff)
downloadwireshark-a05f55bffc2bc7d52d3f35370a7ae1eea2b75839.tar.gz
Add a UAT dialog. Make UAT preferences uat_t * instead of void *.
C++-ize the UAT headers. Add an ElidedLabel widget. Use it in the File Set, Profile, and UAT dialogs. Update the Qt README. svn path=/trunk/; revision=50896
Diffstat (limited to 'epan/uat-int.h')
-rw-r--r--epan/uat-int.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/epan/uat-int.h b/epan/uat-int.h
index 6097e47d6b..f924256277 100644
--- a/epan/uat-int.h
+++ b/epan/uat-int.h
@@ -28,12 +28,16 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
-#ifndef _UAT_INT_H_
-#define _UAT_INT_H_
+#ifndef __UAT_INT_H__
+#define __UAT_INT_H__
#include "uat.h"
#include "ws_symbol_export.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
typedef struct _uat_fld_rep_t uat_fld_rep_t;
typedef struct _uat_rep_t uat_rep_t;
@@ -72,6 +76,7 @@ struct _uat_t {
gboolean from_global;
};
+WS_DLL_PUBLIC
gchar* uat_get_actual_filename(uat_t* uat, gboolean for_writing);
void uat_init(void);
@@ -100,7 +105,12 @@ void uat_load_all(void);
#define UAT_UPDATE(uat) do { *((uat)->user_ptr) = (void*)((uat)->user_data->data); *((uat)->nrows_p) = (uat)->user_data->len; } while(0)
#define UAT_INDEX_PTR(uat,idx) (uat->raw_data->data + (uat->record_size * (idx)))
#define UAT_USER_INDEX_PTR(uat,idx) (uat->user_data->data + (uat->record_size * (idx)))
-#endif
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __UAT_INT_H__ */
/*
* Editor modelines - http://www.wireshark.org/tools/modelines.html