}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_thread_data_t_pool_set(void * jarg1, void * jarg2) {
+ switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ;
+ switch_memory_pool_t *arg2 = (switch_memory_pool_t *) 0 ;
+
+ arg1 = (switch_thread_data_t *)jarg1;
+ arg2 = (switch_memory_pool_t *)jarg2;
+ if (arg1) (arg1)->pool = arg2;
+
+}
+
+
+SWIGEXPORT void * SWIGSTDCALL CSharp_switch_thread_data_t_pool_get(void * jarg1) {
+ void * jresult ;
+ switch_thread_data_t *arg1 = (switch_thread_data_t *) 0 ;
+ switch_memory_pool_t *result = 0 ;
+
+ arg1 = (switch_thread_data_t *)jarg1;
+ result = (switch_memory_pool_t *) ((arg1)->pool);
+ jresult = (void *)result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_thread_data_t() {
void * jresult ;
switch_thread_data_t *result = 0 ;
}
-SWIGEXPORT void * SWIGSTDCALL CSharp_new_Api() {
+SWIGEXPORT void * SWIGSTDCALL CSharp_new_Api(void * jarg1) {
void * jresult ;
+ CoreSession *arg1 = (CoreSession *) NULL ;
API *result = 0 ;
- result = (API *)new API();
+ arg1 = (CoreSession *)jarg1;
+ result = (API *)new API(arg1);
jresult = (void *)result;
return jresult;
}
}
}
- public Api() : this(freeswitchPINVOKE.new_Api(), true) {
+ public Api(CoreSession s) : this(freeswitchPINVOKE.new_Api(CoreSession.getCPtr(s)), true) {
}
public string Execute(string command, string data) {
[DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_alloc_get")]
public static extern int switch_thread_data_t_alloc_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_set")]
+ public static extern void switch_thread_data_t_pool_set(HandleRef jarg1, HandleRef jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_thread_data_t_pool_get")]
+ public static extern IntPtr switch_thread_data_t_pool_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_thread_data_t")]
public static extern IntPtr new_switch_thread_data_t();
public static extern void IvrMenu_Execute(HandleRef jarg1, HandleRef jarg2, string jarg3);
[DllImport("mod_managed", EntryPoint="CSharp_new_Api")]
- public static extern IntPtr new_Api();
+ public static extern IntPtr new_Api(HandleRef jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_delete_Api")]
public static extern void delete_Api(HandleRef jarg1);
CF_VIDEO_PASSIVE,
CF_NOVIDEO,
CF_VIDEO_ECHO,
+ CF_SLA_INTERCEPT,
+ CF_VIDEO_BREAK,
CF_FLAG_MAX
}
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE,
SWITCH_MESSAGE_INDICATE_STUN_ERROR,
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,
+ SWITCH_MESSAGE_ANSWER_EVENT,
+ SWITCH_MESSAGE_PROGRESS_EVENT,
+ SWITCH_MESSAGE_RING_EVENT,
SWITCH_MESSAGE_INVALID
}
}
}
+ public SWIGTYPE_p_apr_pool_t pool {
+ set {
+ freeswitchPINVOKE.switch_thread_data_t_pool_set(swigCPtr, SWIGTYPE_p_apr_pool_t.getCPtr(value));
+ }
+ get {
+ IntPtr cPtr = freeswitchPINVOKE.switch_thread_data_t_pool_get(swigCPtr);
+ SWIGTYPE_p_apr_pool_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_apr_pool_t(cPtr, false);
+ return ret;
+ }
+ }
+
public switch_thread_data_t() : this(freeswitchPINVOKE.new_switch_thread_data_t(), true) {
}