Updated: 11/02/07 19:12:00 CEST
Definition in file method.c.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "easydbus-core.h"
#include "elem_internal.h"
#include "message_internal.h"
#include "debug.h"
#include "monitor_internal.h"
Go to the source code of this file.
Functions | |
DBusMessage * | create_method_msg (struct EasyDbus_core *core, struct EasyDbus_method *method) |
Create DBusMessage for method. | |
EasyDbus_method * | easydbus_method_build_skeleton (DBusMessage *msg) |
Build EasyDbus_method object from DBusMessage. | |
EasyDbus_method * | easydbus_method_create_skeleton (char *destination, char *path, char *interface, char *method) |
Create EasyDbus_method object skeleton. | |
void | easydbus_method_free_skeleton (EasyDbus_method *method) |
Free a EasyDbus_method object. | |
int | easydbus_method_get_args (EasyDbus_method *method) |
Get number of args on EasyDbus_method object. | |
const char * | easydbus_method_get_destination (EasyDbus_method *method) |
Get destination of method. | |
const EasyDbus_elem * | easydbus_method_get_element (EasyDbus_method *method, unsigned int n) |
Get N-element of EasyDbus_method object. | |
const char * | easydbus_method_get_interface (EasyDbus_method *method) |
Get interface of method. | |
const char * | easydbus_method_get_name (EasyDbus_method *method) |
Get name of method. | |
const char * | easydbus_method_get_path (EasyDbus_method *method) |
Get path of method. | |
const EasyDbus_reply * | easydbus_method_get_reply (EasyDbus_method *method) |
Get method reply message pointer from method. | |
int | easydbus_method_send_async (EasyDbus_conn *conn, EasyDbus_method *method, void *closure) |
Call method and blocking for a reply. | |
int | easydbus_method_send_async_with_notify (EasyDbus_conn *conn, EasyDbus_method *method, easydbus_method_async_reply_cb_f r_cb, void *closure, int timeout) |
Call method message async and notify a reply or a timeout. | |
enum easydbus_ret_values | easydbus_method_send_blocking (EasyDbus_conn *conn, EasyDbus_method *method, int timeout) |
Call method and blocking for a reply. | |
int | easydbus_method_set_reply (EasyDbus_method *method, EasyDbus_reply *reply) |
Set method reply message. | |
int | easydbus_method_set_retry_flags (EasyDbus_method *method) |
Set Retry flag on EasyDbus_method object. |
int easydbus_method_set_retry_flags | ( | EasyDbus_method * | method | ) |
Set Retry flag on EasyDbus_method object.
method | EasyDbus_method object pointer |
0 ok
Definition at line 519 of file method.c.
References EasyDbus_method::retry.
00520 { 00521 if (!method) 00522 return -1; 00523 00524 method->retry = 1; 00525 return 0; 00526 }