utils.c File Reference


Detailed Description

Functions with utils internal functions
Date:
Created: 06/16/07 14:56:05 CEST

Updated: 11/07/07 18:32:00 CEST

Author:
Daniele Rondina aka ge@@ru <geaaru@gmail.com>

Definition in file utils.c.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "easydbus-core.h"
#include "debug.h"
#include "utils.h"

Include dependency graph for utils.c:

Go to the source code of this file.

Functions

char * add_el_signature (enum el_type type_el, char *old_signature, int marshal_data_status)
 Add element type to signature string.
int count_elems (struct EasyDbus_elem *el, int *error, enum signature_flags flags)
 Count elements for signature creations of element passed.
int count_total_elems (struct EasyDbus_elem *el, int *error)
 Count signature elements for all elements list passed in input.
struct EasyDbus_object_boxeasydbus_get_obj (struct EasyDbus_object_box *objects, const char *object_path)
 Recover EasyDbus_object_box with object path passed in input from a list of objects.
int easydbus_manage_list_signature (struct easydbus_signature_elem_stack *el, char **signature, int flags)
 Convert signature element on signature string char.
int easydbus_save_serviceName (struct EasyDbus_core *core, char *serviceName)
 Save service name on EasyDbus_core object.
enum el_type get_easydbus_type_from_dbus_type (int type)
 Convert DBus type element value to EasyDbus type element value.
char * prepare_complete_signature (struct EasyDbus_elem *el)
 Create signature string of element. This function is used for debug.
char * prepare_match_string (enum event_type type, char *sender, char *interface, char *member, char *path, char *destination)
 This function create match string used on match rule dbus call.
char * prepare_signature (struct EasyDbus_elem *el, enum signature_flags flags)
 Create signature string of element. Used for marshalled data.
int set_signature (struct EasyDbus_elem *el, char *signature, int offset, enum signature_flags flags)
 Set signature on buffer passed in input.


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