skeleton.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EASYDUBS_SKELETON_H

Functions

int easydbus_add_array_param_to_skeleton (enum event_type, void *, EasyDbus_container *)
 Add array struct to skeleton object.
int easydbus_add_boolean_param_to_skeleton (enum event_type, void *, unsigned char)
 Add boolean element to skeleton object.
int easydbus_add_byte_param_to_skeleton (enum event_type, void *, char)
 Add byte element to skeleton object.
int easydbus_add_double_param_to_skeleton (enum event_type, void *, double)
 Add double element to skeleton object.
int easydbus_add_i16_param_to_skeleton (enum event_type, void *, short)
 Add int16 element to skeleton object.
int easydbus_add_i32_param_to_skeleton (enum event_type, void *, int)
 Add int32 element to skeleton object.
int easydbus_add_i64_param_to_skeleton (enum event_type, void *, long long)
 Add int64 to skeleton object.
int easydbus_add_obj_path_param_to_skeleton (enum event_type, void *, char *)
 Add object path string to skeleton object.
int easydbus_add_signature_param_to_skeleton (enum event_type, void *, char *)
 Add signature element to skeleton.
int easydbus_add_string_param_to_skeleton (enum event_type, void *, char *)
 Add string element to skeleton object.
int easydbus_add_struct_param_to_skeleton (enum event_type, void *, EasyDbus_container *)
 Add struct container to skeleton object.
int easydbus_add_ui16_param_to_skeleton (enum event_type, void *, unsigned short)
 Add unsigned int16 to skeleton object.
int easydbus_add_ui32_param_to_skeleton (enum event_type, void *, unsigned int)
 Add unsigned int32 to skeleton object.
int easydbus_add_ui64_param_to_skeleton (enum event_type, void *, unsigned long long)
 Add unsigned int64 to skeleton object.
int easydbus_add_variant_param_to_skeleton (enum event_type, void *, EasyDbus_container *)
 Add variant container to skeleton object.
int easydbus_container_add_signature_to_empty_container (EasyDbus_container *,...)
 Add signature to container (array or struct).
EasyDbus_containereasydbus_container_create_skeleton (enum el_type)
 Create container object.
void easydbus_container_free (EasyDbus_container *)
 Free container.
enum el_type easydbus_container_get_elem_type (const EasyDbus_container *)
 Get type of elements on container object.
unsigned int easydbus_container_get_nel (const EasyDbus_container *)
 Get number of element on container.
enum el_type easydbus_container_get_type (const EasyDbus_container *)
 Get type of container object.
EasyDbus_methodeasydbus_method_create_skeleton (char *, char *, char *, char *)
 Create EasyDbus_method object skeleton.
void easydbus_method_free_skeleton (EasyDbus_method *)
 Free a EasyDbus_method object.
int easydbus_method_get_args (EasyDbus_method *)
 Get number of args on EasyDbus_method object.
const char * easydbus_method_get_destination (EasyDbus_method *)
 Get destination of method.
const EasyDbus_elemeasydbus_method_get_element (EasyDbus_method *, unsigned int)
 Get N-element of EasyDbus_method object.
const char * easydbus_method_get_interface (EasyDbus_method *)
 Get interface of method.
const char * easydbus_method_get_name (EasyDbus_method *)
 Get name of method.
const char * easydbus_method_get_path (EasyDbus_method *)
 Get path of method.
const EasyDbus_replyeasydbus_method_get_reply (EasyDbus_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 *, EasyDbus_method *, easydbus_method_async_reply_cb_f, void *, int)
 Call method message async and notify a reply or a timeout.
enum easydbus_ret_values easydbus_method_send_blocking (EasyDbus_conn *, EasyDbus_method *, int)
 Call method and blocking for a reply.
int easydbus_method_set_reply (EasyDbus_method *, EasyDbus_reply *)
 Set method reply message.
int easydbus_method_set_retry_flags (EasyDbus_method *)
 Set Retry flag on EasyDbus_method object.
EasyDbus_replyeasydbus_reply_create_skeleton (void)
 Create EasyDbus_reply object.
void easydbus_reply_free_skeleton (EasyDbus_reply *)
 Free a EasyDbus_reply object.
int easydbus_reply_get_args (const EasyDbus_reply *)
 Return number of args on EasyDbus_reply object.
const EasyDbus_elemeasydbus_reply_get_element (const EasyDbus_reply *, unsigned int)
 Get N-element of EasyDbus_reply object.
const char * easydbus_reply_get_interface (EasyDbus_reply *)
 Recover interface of EasyDbus_reply object.
const char * easydbus_reply_get_sender (EasyDbus_reply *)
 Get sender of reply.
const char * easydbus_reply_get_src_path (EasyDbus_reply *)
 Recover source path of EasyDbus_reply object.
enum event_type easydbus_reply_get_type (EasyDbus_reply *)
 Recover type of EasyDbus_reply object.
int easydbus_reply_set_interface (EasyDbus_reply *, const char *)
 Set interface of reply.
int easydbus_reply_set_path (EasyDbus_reply *, const char *)
 Set path of reply.
int easydbus_reply_set_sender (EasyDbus_reply *, const char *)
 Set sender of reply.
int easydbus_reply_set_type (EasyDbus_reply *, enum event_type)
 Set reply type.
EasyDbus_signaleasydbus_signal_create_skeleton (char *, char *, char *)
 Create signal skeleton struct.
void easydbus_signal_free_skeleton (EasyDbus_signal *)
 Free a struct EasyDbus_signal object.
int easydbus_signal_get_args (EasyDbus_signal *)
 Get number of args on EasyDbus_signal object.
const char * easydbus_signal_get_destination (EasyDbus_signal *)
 Get destination of signal.
const EasyDbus_elemeasydbus_signal_get_element (EasyDbus_signal *, unsigned int)
 Get N-element of EasyDbus_signal object.
const char * easydbus_signal_get_interface (EasyDbus_signal *)
 Get interface of signal.
const char * easydbus_signal_get_name (EasyDbus_signal *)
 Get name of signal.
const char * easydbus_signal_get_path (EasyDbus_signal *)
 Get path of signal.
const char * easydbus_signal_get_sender (EasyDbus_signal *)
 Get sender of signal.
enum easydbus_ret_values easydbus_signal_send (EasyDbus_conn *, EasyDbus_signal *)
 Send signal message.
int easydbus_signal_set_destination (EasyDbus_signal *, const char *)
 Set destination of signal.
int easydbus_signal_set_sender (EasyDbus_signal *, const char *)
 Set sender of signal.


Define Documentation

#define EASYDUBS_SKELETON_H

Definition at line 32 of file skeleton.h.


Function Documentation

int easydbus_method_set_retry_flags ( EasyDbus_method method  ) 

Set Retry flag on EasyDbus_method object.

Note:
This flag it is used only on pending reply callback for permits reuse of same method for a new wait (if a timeout is handled) or for send same method message.
Parameters:
method EasyDbus_method object pointer
Returns:
-1 on error

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 }


Generated on Thu Apr 10 10:00:56 2008 for EasyDbus-0.2 by  doxygen 1.5.4