dbus: fix 64-bit compiler warnings
[platform/upstream/dbus.git] / dbus / dbus-misc.h
index 590ee87..d78d799 100644 (file)
@@ -1,4 +1,4 @@
-/* -*- mode: C; c-file-style: "gnu" -*- */
+/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
 /* dbus-misc.h  A few assorted public functions that don't fit elsewhere
  *
  * Copyright (C) 2006 Red Hat, Inc.
@@ -17,7 +17,7 @@
  * 
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
 #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION)
@@ -36,8 +36,20 @@ DBUS_BEGIN_DECLS
  * @addtogroup DBusMisc
  * @{
  */
+DBUS_EXPORT
+char*       dbus_get_local_machine_id  (void);
 
-char*       dbus_get_local_machine_id              (void);
+DBUS_EXPORT
+void        dbus_get_version           (int *major_version_p,
+                                        int *minor_version_p,
+                                        int *micro_version_p);
+
+DBUS_EXPORT
+dbus_bool_t dbus_setenv                (const char *variable,
+                                        const char *value);
+
+DBUS_EXPORT
+char *dbus_try_get_local_machine_id (DBusError *error);
 
 /** @} */