monitor_internal.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:  monitor_internal.h
00020  
00021  Description:  
00022  
00023  Version:  1.0
00024  Created:  09/18/07 11:11:36 CEST
00025  Revision:  none
00026  
00027  Author:   Daniele Rondina aka Ge@@ru (geaaru@gmail.com) 
00028  License:  GPL 2.0
00029 */
00030 
00031 #ifndef EASYDBUS_MONITOR_INTERNAL_H
00032 #define EASYDBUS_MONITOR_INTERNAL_H
00033 
00034 inline int 
00035 easydbus_send_method_withReply_Blocking (struct EasyDbus_core *, 
00036                                          DBusMessage *,
00037                                          struct EasyDbus_method *, int) 
00038                                          EASYDBUS_INTERNAL_F_ATTR;
00039 
00040 inline int 
00041 easydbus_send_method_withReply_Blocking (struct EasyDbus_core *, 
00042                                          DBusMessage *,
00043                                          struct EasyDbus_method *, int) 
00044                                          EASYDBUS_INTERNAL_F_ATTR;
00045 
00046 void
00047 easydbus_wakeup_main_callback (void *)
00048                                EASYDBUS_INTERNAL_F_ATTR;
00049 
00050 dbus_bool_t 
00051 easydbus_add_watch_callback (DBusWatch *,
00052                              void *)
00053                              EASYDBUS_INTERNAL_F_ATTR;
00054                              
00055 void 
00056 easydbus_remove_watch_callback (DBusWatch *,
00057                                 void *)
00058                                 EASYDBUS_INTERNAL_F_ATTR;
00059 
00060 void 
00061 easydbus_toggle_watch_callback (DBusWatch *,
00062                                 void *)
00063                                 EASYDBUS_INTERNAL_F_ATTR;
00064                                 
00065 dbus_bool_t 
00066 easydbus_add_timeout (DBusTimeout *,
00067                       void *)
00068                       EASYDBUS_INTERNAL_F_ATTR;
00069 
00070 void 
00071 easydbus_remove_timeout (DBusTimeout *,
00072                          void *) 
00073                          EASYDBUS_INTERNAL_F_ATTR;
00074                          
00075 void 
00076 easydbus_toggle_timeout (DBusTimeout *,
00077                          void *) 
00078                          EASYDBUS_INTERNAL_F_ATTR;
00079 
00080 #   ifdef EASYDBUS_TESTING
00081      void easydbus_dispatch_status_callback (DBusConnection *,
00082                                              DBusDispatchStatus,
00083                                              void *)
00084                                              EASYDBUS_INTERNAL_F_ATTR;
00085 #   endif
00086 
00087 // watcher functions
00088 struct EasyDbus_watcher *
00089 easydbus_watcher_create_skeleton (void)
00090                                   EASYDBUS_INTERNAL_F_ATTR;
00091 
00092 int 
00093 easydbus_watcher_add (struct EasyDbus_core *,
00094                       struct EasyDbus_watcher *)
00095                       EASYDBUS_INTERNAL_F_ATTR;
00096 
00097 int 
00098 easydbus_watcher_remove_dbus_watch (struct EasyDbus_core *,
00099                                     DBusWatch *)
00100                                     EASYDBUS_INTERNAL_F_ATTR;
00101                                    
00102 struct EasyDbus_watcher *
00103 easydbus_watcher_get_from_fd (struct EasyDbus_watcher *, int, 
00104                               enum easydbus_watcher_flags)
00105                               EASYDBUS_INTERNAL_F_ATTR;
00106 
00107 struct EasyDbus_watcher *
00108 easydbus_watcher_get_from_watch (struct EasyDbus_watcher *, 
00109                                  DBusWatch *)
00110                                  EASYDBUS_INTERNAL_F_ATTR;
00111 #endif
00112 // vim: ts=3 shiftwidth=3 expandtab

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