add more code for listener

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10895 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-12-20 15:40:33 +00:00
parent d5ef9ab196
commit ff3ccb7a3a
3 changed files with 69 additions and 9 deletions
+3
View File
@@ -256,6 +256,9 @@ char *esl_url_decode(char *s);
int esl_toupper(int c);
int esl_tolower(int c);
typedef void (*esl_listen_callback_t)(esl_socket_t server_sock, esl_socket_t client_sock, struct sockaddr_in addr);
esl_status_t esl_listen(const char *host, esl_port_t port, esl_listen_callback_t callback);
esl_status_t esl_connect(esl_handle_t *handle, const char *host, esl_port_t port, const char *password);
esl_status_t esl_disconnect(esl_handle_t *handle);