OSX Run Loop integration. More...
#include <sofia-sip/su_wait.h>#include <CoreFoundation/CoreFoundation.h>
Go to the source code of this file.
Defines | |
| #define | SU_OSX_RUNLOOP_H |
| Defined when <sofia-sip/su_osx_runloop.h> has been included. | |
Functions | |
| su_root_t * | su_root_osx_runloop_create (su_root_magic_t *)) |
| Create a reactor object. | |
| void | su_root_osx_prepare_run (su_root_t *) |
| Prepare root to be run on OSX Run Loop. | |
OSX Run Loop integration.
| #define SU_OSX_RUNLOOP_H |
Defined when <sofia-sip/su_osx_runloop.h> has been included.
| void su_root_osx_prepare_run | ( | su_root_t * | root | ) |
Prepare root to be run on OSX Run Loop.
Sets su_root_t object to be callable by the application's run loop. This function is to be used instead of su_root_run() for OSX applications using Core Foundation's Run Loop.
The function su_root_osx_prepare_run() returns immmediately.
| root | pointer to root object |
| su_root_t* su_root_osx_runloop_create | ( | su_root_magic_t * | magic | ) |
Create a reactor object.
Allocate and initialize the instance of su_root_t.
| magic | pointer to user data |