watch_events.c File Reference


Detailed Description

Functions for manage events on DBus bus.
Date:
Created: 09/18/07 10:57:24 CEST
Author:
Daniele Rondina aka ge@@ru <geaaru@gmail.com>

Definition in file watch_events.c.

#include <string.h>
#include <stdlib.h>
#include "debug.h"
#include "easydbus-core.h"
#include "reply_internal.h"
#include "monitor_internal.h"

Include dependency graph for watch_events.c:

Go to the source code of this file.

Functions

int easydbus_object_handle_message (EasyDbus_conn *data, int event_fd)
 Handle message where it is handled an event.
int easydbus_object_main_loop (EasyDbus_conn *data)
 Easydbus main loop function.
enum easydbus_ret_values easydbus_watch_method_blocking (EasyDbus_conn *conn, EasyDbus_method *method_container, int timeout)
 Wait for a method with blocking mode.
enum easydbus_ret_values easydbus_watch_signal_blocking (EasyDbus_conn *data, EasyDbus_signal *signal_container, int timeout)
 Wait for a signal with blocking mode.
int easydbus_watcher_enable (EasyDbus_conn *conn, easydbus_watcher_add_cb_f watcher_add_cb, easydbus_watcher_remove_cb_f watcher_remove_cb, void *closure)
 Enable watcher for current connection.
int easydbus_watcher_get_fd (EasyDbus_watcher *watcher)
 Get file descriptor of EasyDbus_watcher object.
int * easydbus_watcher_get_fd_list (EasyDbus_conn *data, int *num_fd)
 Recover watcher fd list enabled.


Generated on Thu Apr 10 10:01:05 2008 for EasyDbus-0.2 by  doxygen 1.5.4