liblazy
|
#include "liblazy.h"
#include "liblazy_local.h"
#include "config.h"
#include <stdio.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
Functions | |
void | liblazy_dbus_system_use_private_connection (int use_private) |
use a private connection for system bus messages | |
int | liblazy_dbus_send_method_call (const char *destination, const char *path, const char *interface, const char *method, int bus_type, DBusMessage **reply, int first_arg_type, va_list var_args) |
int | liblazy_dbus_system_send_method_call (const char *destination, const char *path, const char *interface, const char *method, DBusMessage **reply, int first_arg_type,...) |
send a method call to the system bus | |
int | liblazy_dbus_session_send_method_call (const char *destination, const char *path, const char *interface, const char *method, DBusMessage **reply, int first_arg_type,...) |
send a method call to the session bus | |
static int | liblazy_dbus_send_signal (const char *path, const char *interface, const char *name, int bus_type, int first_arg_type, va_list var_args) |
int | liblazy_dbus_system_send_signal (const char *path, const char *interface, const char *name, int first_arg_type,...) |
send a signal over the system bus | |
int | liblazy_dbus_session_send_signal (const char *path, const char *interface, const char *name, int first_arg_type,...) |
send a signal over the session bus | |
int | liblazy_dbus_message_get_basic_arg (DBusMessage *message, int type, void *arg, int no) |
get an argument from a DBusMessage | |
static char ** | liblazy_dbus_get_strlist_from_array (DBusMessageIter *reply_iter) |
int | liblazy_dbus_message_get_strlist_arg (DBusMessage *message, char ***strlist, int no) |
get a array argument from a DBusMessage as a string list | |
Variables | |
static int | dbus_system_use_private_connection = 0 |
static char** liblazy_dbus_get_strlist_from_array | ( | DBusMessageIter * | reply_iter | ) | [static] |
Referenced by liblazy_dbus_message_get_strlist_arg().
int liblazy_dbus_send_method_call | ( | const char * | destination, |
const char * | path, | ||
const char * | interface, | ||
const char * | method, | ||
int | bus_type, | ||
DBusMessage ** | reply, | ||
int | first_arg_type, | ||
va_list | var_args | ||
) |
References dbus_system_use_private_connection, LIBLAZY_ERROR_DBUS_ERROR_IS_SET, LIBLAZY_ERROR_DBUS_NOT_READY, LIBLAZY_ERROR_GENERAL, and LIBLAZY_ERROR_INVALID_ARGUMENT.
Referenced by liblazy_dbus_session_send_method_call(), liblazy_dbus_system_send_method_call(), and liblazy_hal_get_strlist_manager().
static int liblazy_dbus_send_signal | ( | const char * | path, |
const char * | interface, | ||
const char * | name, | ||
int | bus_type, | ||
int | first_arg_type, | ||
va_list | var_args | ||
) | [static] |
References LIBLAZY_ERROR_DBUS_NOT_READY, LIBLAZY_ERROR_GENERAL, and LIBLAZY_ERROR_INVALID_ARGUMENT.
Referenced by liblazy_dbus_session_send_signal(), and liblazy_dbus_system_send_signal().
int dbus_system_use_private_connection = 0 [static] |
Referenced by liblazy_dbus_send_method_call(), and liblazy_dbus_system_use_private_connection().