Updated: 11/03/07 23:43:00 CEST
Definition in file introspect_internal.c.
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "easydbus-core.h"
#include "debug.h"
#include "introspect_internal.h"
#include "reply_internal.h"
#include "utils.h"
Go to the source code of this file.
Functions | |
int | easydbus_add_new_field_to_list (struct easydbus_introspect_arg_info *el, struct easydbus_introspect_arg_info **list) |
Add an element struct easydbus_introspect_arg_info to list passed in input. | |
char * | easydbus_create_arg_signature (struct easydbus_signature_elem_stack *list) |
Create signature for argument of introspect xml message from list passed in input. | |
void | easydbus_free_introspect_info_arg (struct easydbus_introspect_arg_info *arg) |
Free of struct easydbus_instrospect_arg_info element. | |
char * | easydbus_introspect_create_reply_string (char *req_path, introspect_objs_tree *t, struct EasyDbus_object_box *obj) |
Create introspect reply string. | |
DBusHandlerResult | easydbus_introspect_filter_func (DBusConnection *conn, DBusMessage *msg, void *user_data) |
Instrospect DBus filter callback. | |
int | easydbus_introspect_get_interface_string_length (EasyDbus_obj_interface *interface) |
Calculate number of chars for introspect message reply for interface passed in input. | |
int | easydbus_introspect_get_ntoken (char *name, int l) |
Get number of token on an object path. | |
int | easydbus_introspect_get_obj_string_length (struct EasyDbus_object_box *obj) |
Calculate number of chars for introspectable string of object passed in input. | |
int | easydbus_introspect_get_reply_length (char *path, introspect_objs_tree *t, struct EasyDbus_object_box *obj, unsigned int *obj_dest_path) |
Calculate length of introspect reply string. | |
introspect_objs_tree * | easydbus_introspect_obj_tree_create (char *leaf_name, struct EasyDbus_object_box *obj) |
Create introspect_obj_tree object. | |
void | easydbus_introspect_obj_tree_free (introspect_objs_tree *o) |
Free only one introspect_objs_tree object pointer. | |
introspect_objs_tree * | easydbus_introspect_obj_tree_hastoken (introspect_objs_tree *tree, char *token) |
Check if tree node contains token passed in input. | |
int | easydbus_introspect_objs_tree_add_leafs (introspect_objs_tree **tt, char **l_tokens, unsigned int n, struct EasyDbus_object_box *obj) |
Add list of token to a introspect_objs_tree object. | |
introspect_objs_tree * | easydbus_introspect_objs_tree_build (struct EasyDbus_object_box *object) |
Create Objects Tree for manage introspect method. | |
int | easydbus_introspect_objs_tree_destroy (introspect_objs_tree *tree) |
Free a tree of instrospect_objs_tree objects. | |
int | easydbus_introspect_set_interface_buffer (EasyDbus_obj_interface *interface, char *istring, int *offset) |
Write introspect information of interface passed in input. | |
int | easydbus_introspect_set_object_buffer (struct EasyDbus_object_box *obj, char *istring, int *offset) |
Write on buffer istring introspect information of EasyDbus_object_box passed in input. | |
int | easydbus_introspect_set_reply_buffer (char *istring, char *req_path, introspect_objs_tree *t, struct EasyDbus_object_box *obj, unsigned int obj_path) |
Write buffer with Introspect method reply. |