nfs-ganesha 1.4

ganesha_dbus.h

Go to the documentation of this file.
00001 /*
00002  * vim:expandtab:shiftwidth=8:tabstop=8:
00003  *
00004  * Copyright (C) 2012, The Linux Box Corporation
00005  * Contributor : Matt Benjamin <matt@linuxbox.com>
00006  *
00007  * Some portions Copyright CEA/DAM/DIF  (2008)
00008  * contributeur : Philippe DENIEL   philippe.deniel@cea.fr
00009  *                Thomas LEIBOVICI  thomas.leibovici@cea.fr
00010  *
00011  *
00012  * This program is free software; you can redistribute it and/or
00013  * modify it under the terms of the GNU Lesser General Public
00014  * License as published by the Free Software Foundation; either
00015  * version 3 of the License, or (at your option) any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00020  * Lesser General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU Lesser General Public
00023  * License along with this library; if not, write to the Free Software
00024  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00025  *
00026  * -------------
00027  */
00028 
00029 #ifndef _GANESHA_DBUS_H
00030 #define _GANESHA_DBUS_H
00031 
00032 #ifdef HAVE_CONFIG_H
00033 #include "config.h"
00034 #endif                          /* HAVE_CONFIG_H */
00035 
00036 #ifdef _SOLARIS
00037 #include "solaris_port.h"
00038 #endif                          /* _SOLARIS */
00039 
00040 #include <dbus/dbus.h>
00041 #include "log.h"
00042 
00058 void gsh_dbus_pkginit(void);
00059 void gsh_dbus_pkgshutdown(void);
00060 void *gsh_dbus_thread(void *arg);
00061 
00062 /* callout method */
00063 int32_t gsh_dbus_register_path(const char *name,
00064                                DBusObjectPathMessageFunction method);
00065 
00066 /* more to come */
00067 
00068 #endif /* _GANESHA_DBUS_H */