diff options
author | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 16:17:08 +0000 |
---|---|---|
committer | jeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-19 16:17:08 +0000 |
commit | 51159cb37e99c778b8f0a6d0620d1697f73054e2 (patch) | |
tree | 8e7209d2a23db73b91be81c885530828bdcc6fec /channels/h323/chan_h323.h | |
parent | beeee1fba99e86bbd3973508f3f8a9df0bdf5f74 (diff) |
Fix memory leak, avoid uncessary abuse of memory and formatting tweaks. Bug #4282
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5739 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/chan_h323.h')
-rwxr-xr-x | channels/h323/chan_h323.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/channels/h323/chan_h323.h b/channels/h323/chan_h323.h index 520dda3f4..aeb88b876 100755 --- a/channels/h323/chan_h323.h +++ b/channels/h323/chan_h323.h @@ -36,7 +36,7 @@ typedef struct call_options { int noFastStart; int noH245Tunneling; int noSilenceSuppression; - unsigned int port; +/* unsigned int port; */ int progress_setup; int progress_alert; int progress_audio; @@ -132,12 +132,12 @@ extern progress_cb on_progress; /* This is a callback prototype function, called upon an incoming call happens. */ -typedef call_options_t *(*setup_incoming_cb)(call_details_t); +typedef call_options_t *(*setup_incoming_cb)(call_details_t *); extern setup_incoming_cb on_incoming_call; /* This is a callback prototype function, called upon an outbound call. */ -typedef int (*setup_outbound_cb)(call_details_t); +typedef int (*setup_outbound_cb)(call_details_t *); extern setup_outbound_cb on_outgoing_call; /* This is a callback prototype function, called when @@ -152,7 +152,7 @@ extern con_established_cb on_connection_established; /* This is a callback prototype function, called when OnConnectionCleared callback is invoked */ -typedef void (*clear_con_cb)(call_details_t); +typedef void (*clear_con_cb)(unsigned, const char *); extern clear_con_cb on_connection_cleared; /* This is a callback prototype function, called when @@ -231,6 +231,3 @@ extern "C" { #ifdef __cplusplus } #endif - - - |