summaryrefslogtreecommitdiff
path: root/echld/echld-util.h
diff options
context:
space:
mode:
authorLuis Ontanon <luis.ontanon@gmail.com>2013-06-27 19:00:01 +0000
committerLuis Ontanon <luis.ontanon@gmail.com>2013-06-27 19:00:01 +0000
commit99013aefa81f2d3e14d3e063574e6dea4045d0b1 (patch)
tree2a1e516d3c86aca5690a8725f5f51e276c0f46ac /echld/echld-util.h
parent16fc2c5998031c086d05cf5706ab5b5e9e2abaf2 (diff)
downloadwireshark-99013aefa81f2d3e14d3e063574e6dea4045d0b1.tar.gz
MS: list interfaces!
svn path=/trunk/; revision=50195
Diffstat (limited to 'echld/echld-util.h')
-rw-r--r--echld/echld-util.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/echld/echld-util.h b/echld/echld-util.h
index d7be39a78d..4c236b5854 100644
--- a/echld/echld-util.h
+++ b/echld/echld-util.h
@@ -26,12 +26,16 @@
#ifndef __ECHLD_UTIL
#define __ECHLD_UTIL
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef void (*echld_ping_cb_t)(long usec, void* data);
WS_DLL_PUBLIC echld_state_t echld_ping(int child_id, echld_ping_cb_t pcb, void* cb_data);
-typedef void (*echld_list_interface_cb_t)(char* intf_name, char* params, void* cb_data);
-WS_DLL_PUBLIC echld_state_t echld_list_interfaces(int child_id, echld_list_interface_cb_t, void* cb_data);
+typedef void (*echld_param_cb_t)(const char* param, const char* value, const char* error, void* data);
+WS_DLL_PUBLIC echld_state_t echld_get_param(int chld_id, const char* param, echld_param_cb_t cb, void* cb_data);
+WS_DLL_PUBLIC echld_state_t echld_set_param(int chld_id, const char* param, const char* value, echld_param_cb_t acb, void* cb_data);
typedef void (*echild_get_packet_summary_cb_t)(char* summary, void* data);
WS_DLL_PUBLIC echld_state_t echld_open_file(int child_id, const char* filename,echild_get_packet_summary_cb_t,void*);
@@ -45,4 +49,8 @@ typedef void (*echild_get_packets_cb)(char* tree_text,void* data);
typedef void (*echild_get_buffer_cb)(char* buffer_text, void* data);
WS_DLL_PUBLIC echld_state_t echld_get_packets_range(int child_id, const char* range, echild_get_packets_cb, echild_get_buffer_cb, void* data);
+#ifdef __cplusplus
+};
+#endif
+
#endif