diff options
author | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-25 03:33:02 +0000 |
---|---|---|
committer | Luis Ontanon <luis.ontanon@gmail.com> | 2013-06-25 03:33:02 +0000 |
commit | db09d8d0f0341f3ac09c5a59098467c5bd8f69ae (patch) | |
tree | 8d817b9552360201558f3d79da25a3522a9eb326 /echld/echld-util.h | |
parent | e591c9f21e5d57be7a9cad4e9c5d62647bde38eb (diff) |
another iteration, prepared for automake.
svn path=/trunk/; revision=50136
Diffstat (limited to 'echld/echld-util.h')
-rw-r--r-- | echld/echld-util.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/echld/echld-util.h b/echld/echld-util.h index 3afebe60f2..d7be39a78d 100644 --- a/echld/echld-util.h +++ b/echld/echld-util.h @@ -23,22 +23,26 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifndef __ECHLD_UTIL +#define __ECHLD_UTIL + typedef void (*echld_ping_cb_t)(long usec, void* data); -echld_state_t echld_ping(int child_id, echld_ping_cb_t pcb, void* cb_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); -echld_state_t echld_list_interfaces(int child_id, echld_list_interface_cb_t, 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 (*echild_get_packet_summary_cb_t)(char* summary, void* data); -echld_state_t echld_open_file(int child_id, const char* filename,echild_get_packet_summary_cb_t,void*); +WS_DLL_PUBLIC echld_state_t echld_open_file(int child_id, const char* filename,echild_get_packet_summary_cb_t,void*); -echld_state_t echld_open_interface(int child_id, const char* intf_name, const char* params); -echld_state_t echld_start_capture(int child_id, echild_get_packet_summary_cb_t); -echld_state_t echld_stop_capture(int child_id); +WS_DLL_PUBLIC echld_state_t echld_open_interface(int child_id, const char* intf_name, const char* params); +WS_DLL_PUBLIC echld_state_t echld_start_capture(int child_id, echild_get_packet_summary_cb_t); +WS_DLL_PUBLIC echld_state_t echld_stop_capture(int child_id); typedef void (*echild_get_packets_cb)(char* tree_text,void* data); typedef void (*echild_get_buffer_cb)(char* buffer_text, void* data); -echld_state_t echld_get_packets_range(int child_id, const char* range, echild_get_packets_cb, echild_get_buffer_cb, 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); +#endif |