struct.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:  struct.h
00020  
00021  Description: This file contains prototypes of easydbus library
00022         functions that can be called by user of easydbus library.
00023  
00024  Version:  1.0
00025  Created:  09/07/07 12:24:36 CEST
00026  Revision:  none
00027  
00028  Author:   Daniele Rondina aka Ge@@ru (geaaru@gmail.com) 
00029  License:  GPL 2.0
00030 */
00031 
00032 #ifndef         EASYDBUS_STRUCT_H
00033 #define  EASYDBUS_STRUCT_H
00034 
00036 int 
00037 easydbus_struct_add_string (EasyDbus_container * container,
00038                             char *string);
00039 
00041 int 
00042 easydbus_struct_add_signature (EasyDbus_container * container,
00043                                char *string);
00044 
00046 int 
00047 easydbus_struct_add_obj_path (EasyDbus_container * container,
00048                               char *string);
00049 
00050 int 
00051 easydbus_struct_add_i16 (EasyDbus_container *, short);
00052 
00053 int 
00054 easydbus_struct_add_ui16 (EasyDbus_container *, 
00055                           unsigned short);
00056 
00057 int 
00058 easydbus_struct_add_i32 (EasyDbus_container *, int);
00059 
00060 int 
00061 easydbus_struct_add_ui32 (EasyDbus_container *, 
00062                           unsigned int);
00063 
00064 int 
00065 easydbus_struct_add_i64 (EasyDbus_container *, 
00066                          long long);
00067 
00068 int 
00069 easydbus_struct_add_ui64 (EasyDbus_container *,
00070                           unsigned long long);
00071 
00072 int 
00073 easydbus_struct_add_byte (EasyDbus_container *, 
00074                           char);
00075 
00076 int 
00077 easydbus_struct_add_boolean (EasyDbus_container *, 
00078                              char);
00079 
00080 int 
00081 easydbus_struct_add_double (EasyDbus_container *, 
00082                             double);
00083 
00084 int 
00085 easydbus_struct_add_dict_entry (EasyDbus_container *,
00086                                 EasyDbus_container *);
00087 
00088 int 
00089 easydbus_struct_add_array (EasyDbus_container *,
00090                            EasyDbus_container *);
00091 
00092 int 
00093 easydbus_struct_add_variant (EasyDbus_container *,
00094                              EasyDbus_container *);
00095 
00096 int 
00097 easydbus_struct_add_struct (EasyDbus_container *,
00098                             EasyDbus_container *);
00099 
00100 const EasyDbus_elem *
00101 easydbus_struct_get_element (EasyDbus_container *,
00102                              unsigned int);
00103 
00104 #endif
00105 // vim: ts=3 shiftwidth=3 expandtab

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