Name
linc-types -- the base linc types and utilities
Details
enum LINCConnectionOptions
typedef enum {
LINC_CONNECTION_SSL = 1 << 0,
LINC_CONNECTION_NONBLOCKING = 1 << 1
} LINCConnectionOptions; |
LINC_MUTEX_LOCK()
#define LINC_MUTEX_LOCK(x) |
Locks the mutex pointed to by x if the mutex is non NULL.
A NULL condition signals that there is no need to do locking.
LINC_MUTEX_UNLOCK()
#define LINC_MUTEX_UNLOCK(x) |
Unlocks the mutex pointed to by x if the mutex is non NULL.
A NULL condition signals that there is no need to do locking.
linc_mutex_new ()
GMutex* linc_mutex_new (void); |
Creates a mutes, iff threads are supported, initialized and
linc_set_threaded has been called.