mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
added initial OpenR2 support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@808 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
b429cb1111
commit
f7cd254439
11 files changed
+1899
-45
No files matched your search
@@ -280,6 +280,17 @@
|
||||
} \
|
||||
} while(0);
|
||||
|
||||
#define zap_locked_wait_for_flag_cleared(obj, flag, time) \
|
||||
do { \
|
||||
int __safety = time; \
|
||||
while(__safety-- && zap_test_flag(obj, flag)) { \
|
||||
zap_sleep(10); \
|
||||
} \
|
||||
if(!__safety) { \
|
||||
zap_log(ZAP_LOG_CRIT, "flag %d was never cleared\n", flag); \
|
||||
} \
|
||||
} while(0);
|
||||
|
||||
|
||||
typedef enum {
|
||||
ZAP_STATE_CHANGE_FAIL,
|
||||
@@ -517,7 +528,7 @@ struct zap_channel {
|
||||
struct zap_span *span;
|
||||
struct zap_io_interface *zio;
|
||||
zap_hash_t *variable_hash;
|
||||
unsigned char cas_bits;
|
||||
unsigned char rx_cas_bits;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user