utils.h

Go to the documentation of this file.
00001 /*
00002  EasyDbus: DBus Binding Library
00003  Copyright (C) 2007  Daniele Rondina aka ge@@ru, geaaru@gmail.com 
00004 
00005  This program is free software; you can redistribute it and/or
00006  modify it under the terms of the GNU General Public License
00007  as published by the Free Software Foundation; either version 2
00008  of the License, or (at your option) any later version.
00009 
00010  This program is distributed in the hope that it will be useful,
00011  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  GNU General Public License for more details.
00014 
00015  You should have received a copy of the GNU General Public License
00016  along with this program; if not, write to the Free Software
00017  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00018 
00019   Filename:  utils.h
00020  
00021   Description:  
00022  
00023   Version:  0.1
00024   Created:  06/16/07 15:05:16 CEST
00025   Revision:  none
00026  
00027   Author:   Daniele Rondina aka Ge@@ru (geaaru@gmail.com) 
00028   License:  GPL 2.0
00029 */
00030 
00031 
00032 #ifndef EASYDBUS_UTILS_H
00033 #define EASYDBUS_UTILS_H
00034 
00035 #   include "easydbus-core.h"
00036 
00038 inline char *
00039 prepare_match_string (enum event_type, char *,
00040                       char *, char *, 
00041                       char *, char *)
00042                       EASYDBUS_INTERNAL_F_ATTR;
00043 
00045 inline int 
00046 easydbus_save_serviceName (struct EasyDbus_core *,
00047                            char *)
00048                            EASYDBUS_INTERNAL_F_ATTR;
00049 
00051 int 
00052 count_elems (struct EasyDbus_elem *, int *,
00053              enum signature_flags) 
00054              EASYDBUS_INTERNAL_F_ATTR;
00055 
00056 int 
00057 count_total_elems (struct EasyDbus_elem *,
00058                    int *) 
00059                    EASYDBUS_INTERNAL_F_ATTR;
00060 
00062 char *
00063 prepare_signature (struct EasyDbus_elem *,
00064                    enum signature_flags)
00065                    EASYDBUS_INTERNAL_F_ATTR;
00066                    
00067 char *
00068 prepare_complete_signature (struct EasyDbus_elem *);
00069 
00071 int 
00072 set_signature (struct EasyDbus_elem *, char *,
00073                int, enum signature_flags)
00074                EASYDBUS_INTERNAL_F_ATTR;
00075 
00077 char *
00078 add_el_signature (enum el_type, char *, int) 
00079                   EASYDBUS_INTERNAL_F_ATTR;
00080 
00081 int 
00082 easydbus_manage_list_signature (struct easydbus_signature_elem_stack *,
00083                                 char **, int) 
00084                                 EASYDBUS_INTERNAL_F_ATTR;
00085 
00086 enum el_type 
00087 get_easydbus_type_from_dbus_type (int)
00088                                   EASYDBUS_INTERNAL_F_ATTR;
00089 
00090 inline struct EasyDbus_object_box *
00091 easydbus_get_obj (struct EasyDbus_object_box *, const char *)
00092                   EASYDBUS_INTERNAL_F_ATTR;
00093 
00094 #endif
00095 // vim: ts=3 shiftwidth=3 expandtab

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