mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@22 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
fc1d625d1e
commit
98ab4f440c
4 files changed
+325
-19
No files matched your search
@@ -2,8 +2,15 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("hello\n");
|
||||
|
||||
zap_global_set_default_logger(ZAP_LOG_LEVEL_DEBUG);
|
||||
zap_global_init();
|
||||
|
||||
if (zap_global_init() != ZAP_SUCCESS) {
|
||||
fprintf(stderr, "Error loading OpenZAP\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
printf("OpenZAP loaded\n");
|
||||
sleep(2);
|
||||
zap_global_destroy();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user