Improved the WTP application to exit

This commit is contained in:
vemax78
2013-06-05 19:39:03 +02:00
parent 4d2292b7f0
commit 49bf2dc5c9
5 changed files with 30 additions and 19 deletions

View File

@ -10,6 +10,7 @@
#define WTP_DFA_NO_PACKET 1
#define WTP_DFA_ACCEPT_PACKET 2
#define WTP_DFA_DROP_PACKET 3
#define WTP_DFA_EXIT 4
/* */ /* TODO da rifare */
struct wtp_discovery_response {
@ -26,6 +27,7 @@ int wtp_bio_send(struct capwap_dtls* dtls, char* buffer, int length, void* param
int wtp_teardown_connection(struct timeout_control* timeout);
/* */
void wtp_free_packet_rxmng(int isctrlmsg);
void wtp_free_reference_last_request(void);
void wtp_free_reference_last_response(void);