linc-types

linc-types —

Synopsis




enum        LINCConnectionOptions;
struct      LincWatch;
#define     LINC_MUTEX_LOCK                 (x)
#define     LINC_MUTEX_UNLOCK               (x)
GMutex*     linc_mutex_new                  (void);

Description

Details

enum LINCConnectionOptions

typedef enum {
	LINC_CONNECTION_SSL          = 1 << 0,
	LINC_CONNECTION_NONBLOCKING  = 1 << 1,
	LINC_CONNECTION_BLOCK_SIGNAL = 1 << 2,
	LINC_CONNECTION_LOCAL_ONLY   = 1 << 3
} LINCConnectionOptions;


struct LincWatch

struct LincWatch;


LINC_MUTEX_LOCK()

#define     LINC_MUTEX_LOCK(x)

x :

LINC_MUTEX_UNLOCK()

#define     LINC_MUTEX_UNLOCK(x)

x :

linc_mutex_new ()

GMutex*     linc_mutex_new                  (void);

Creates a mutes, iff threads are supported, initialized and linc_set_threaded has been called.

Returns : a new GMutex, or NULL if one is not required.