}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_signal_lock(void * jarg1) {
- int jresult ;
- switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
- switch_status_t result;
-
- arg1 = (switch_core_session_t *)jarg1;
- result = (switch_status_t)switch_core_session_signal_lock(arg1);
- jresult = result;
- return jresult;
-}
-
-
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_signal_unlock(void * jarg1) {
- int jresult ;
- switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
- switch_status_t result;
-
- arg1 = (switch_core_session_t *)jarg1;
- result = (switch_status_t)switch_core_session_signal_unlock(arg1);
- jresult = result;
- return jresult;
-}
-
-
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_session_read_lock(void * jarg1) {
int jresult ;
switch_core_session_t *arg1 = (switch_core_session_t *) 0 ;
return ret;
}
- public static switch_status_t switch_core_session_signal_lock(SWIGTYPE_p_switch_core_session session) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_signal_lock(SWIGTYPE_p_switch_core_session.getCPtr(session));
- return ret;
- }
-
- public static switch_status_t switch_core_session_signal_unlock(SWIGTYPE_p_switch_core_session session) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_signal_unlock(SWIGTYPE_p_switch_core_session.getCPtr(session));
- return ret;
- }
-
public static switch_status_t switch_core_session_read_lock(SWIGTYPE_p_switch_core_session session) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_read_lock(SWIGTYPE_p_switch_core_session.getCPtr(session));
return ret;
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_destroy")]
public static extern int switch_core_destroy();
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_lock")]
- public static extern int switch_core_session_signal_lock(HandleRef jarg1);
-
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_signal_unlock")]
- public static extern int switch_core_session_signal_unlock(HandleRef jarg1);
-
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_session_read_lock")]
public static extern int switch_core_session_read_lock(HandleRef jarg1);
SWITCH_STATUS_NOTFOUND,
SWITCH_STATUS_UNLOAD,
SWITCH_STATUS_NOUNLOAD,
- SWITCH_STATUS_IGNORE
+ SWITCH_STATUS_IGNORE,
+ SWITCH_STATUS_NOT_INITALIZED
}
}