Data Structures |
struct | eripc_arg_t |
struct | eripc_event_info_t |
Typedefs |
typedef struct _eripc_context_t | eripc_context_t |
typedef void( | eripc_handler_t )(eripc_context_t *context, const eripc_event_info_t *info, void *user_data) |
typedef struct osso_af_context_t | osso_context_t |
Enumerations |
enum | eripc_error_t {
ERIPC_ERROR_SUCCESS = 0,
ERIPC_ERROR_INVALID,
ERIPC_ERROR_OOM,
ERIPC_ERROR,
ERIPC_ERROR_TIMEOUT
} |
enum | eripc_data_t {
ERIPC_TYPE_INVALID = 0,
ERIPC_TYPE_BOOL,
ERIPC_TYPE_BYTE,
ERIPC_TYPE_INT,
ERIPC_TYPE_UINT,
ERIPC_TYPE_DOUBLE,
ERIPC_TYPE_STRING,
ERIPC_TYPE_DATA
} |
enum | eripc_bus_t { ERIPC_BUS_IRRELEVANT = 0,
ERIPC_BUS_SYSTEM,
ERIPC_BUS_SESSION,
ERIPC_BUS_BOTH
} |
enum | eripc_event_t {
ERIPC_EVENT_NONE = 0,
ERIPC_EVENT_MESSAGE,
ERIPC_EVENT_SIGNAL,
ERIPC_EVENT_MESSAGE_OR_SIGNAL,
ERIPC_EVENT_REPLY,
ERIPC_EVENT_ERROR,
ERIPC_EVENT_REPLY_OR_ERROR
} |
Functions |
void * | eripc_get_system_connection (eripc_context_t *context) |
void * | eripc_get_session_connection (eripc_context_t *context) |
eripc_context_t * | eripc_init (const char *program_name, const char *program_version, GMainContext *context) |
eripc_error_t | eripc_set_signal_handler (eripc_context_t *context, eripc_handler_t *handler, void *user_data, eripc_bus_t bus_type, const char *source, const char *signal_name, int *handler_id) |
eripc_error_t | eripc_set_message_handler (eripc_context_t *context, eripc_handler_t *handler, void *user_data, eripc_bus_t bus_type, const char *source, const char *message_name, int *handler_id) |
eripc_error_t | eripc_set_event_handler (eripc_context_t *context, const eripc_event_info_t *info, eripc_handler_t *handler, void *user_data, int *handler_id) |
eripc_error_t | eripc_unset_handler (eripc_context_t *context, int handler_id) |
eripc_error_t | eripc_get_timeout (eripc_context_t *context, int *timeout) |
eripc_error_t | eripc_set_timeout (eripc_context_t *context, int timeout) |
eripc_error_t | eripc_send_varargs (eripc_context_t *context, eripc_handler_t *reply_handler, const void *user_data, eripc_bus_t bus_type, const char *destination, const char *message_name, eripc_data_t arg_type,...) |
eripc_error_t | eripc_send_string (eripc_context_t *context, eripc_handler_t *reply_handler, const void *user_data, eripc_bus_t bus_type, const char *destination, const char *message_name, const char *string) |
eripc_error_t | eripc_send_int (eripc_context_t *context, eripc_handler_t *reply_handler, const void *user_data, eripc_bus_t bus_type, const char *destination, const char *message_name, int value) |
eripc_error_t | eripc_send_bool (eripc_context_t *context, eripc_handler_t *reply_handler, const void *user_data, eripc_bus_t bus_type, const char *destination, const char *message_name, gboolean value) |
eripc_error_t | eripc_send_varargs_and_wait (eripc_context_t *context, eripc_event_info_t **reply, eripc_bus_t bus_type, const char *destination, const char *message_name, eripc_data_t arg_type,...) |
eripc_error_t | eripc_send_string_and_wait (eripc_context_t *context, eripc_event_info_t **reply, eripc_bus_t bus_type, const char *destination, const char *message_name, const char *string) |
eripc_error_t | eripc_send_int_and_wait (eripc_context_t *context, eripc_event_info_t **reply, eripc_bus_t bus_type, const char *destination, const char *message_name, int value) |
eripc_error_t | eripc_send_bool_and_wait (eripc_context_t *context, eripc_event_info_t **reply, eripc_bus_t bus_type, const char *destination, const char *message_name, gboolean value) |
eripc_error_t | eripc_send_signal (eripc_context_t *context, eripc_bus_t bus_type, const char *signal_name, const char *argument) |
eripc_error_t | eripc_send_signal_varargs (eripc_context_t *context, eripc_bus_t bus_type, const char *signal_path, const char *signal_interface, const char *signal_name, eripc_data_t arg_type,...) |
eripc_error_t | eripc_event_info_free (eripc_context_t *context, eripc_event_info_t *reply) |
eripc_error_t | eripc_reply_varargs (eripc_context_t *context, const char *message_id, eripc_data_t arg_type,...) |
eripc_error_t | eripc_reply_string (eripc_context_t *context, const char *message_id, const char *string) |
eripc_error_t | eripc_reply_int (eripc_context_t *context, const char *message_id, int value) |
eripc_error_t | eripc_reply_bool (eripc_context_t *context, const char *message_id, gboolean value) |
eripc_error_t | eripc_reply_error (eripc_context_t *context, const char *message_id, const char *error_name, const char *error_message) |
Public header for liberipc.