|
||||
File indexing completed on 2025-01-18 09:55:13
0001 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ 0002 /* dbus-misc.h A few assorted public functions that don't fit elsewhere 0003 * 0004 * Copyright (C) 2006 Red Hat, Inc. 0005 * 0006 * Licensed under the Academic Free License version 2.1 0007 * 0008 * This program is free software; you can redistribute it and/or modify 0009 * it under the terms of the GNU General Public License as published by 0010 * the Free Software Foundation; either version 2 of the License, or 0011 * (at your option) any later version. 0012 * 0013 * This program is distributed in the hope that it will be useful, 0014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0016 * GNU General Public License for more details. 0017 * 0018 * You should have received a copy of the GNU General Public License 0019 * along with this program; if not, write to the Free Software 0020 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0021 * 0022 */ 0023 #if !defined (DBUS_INSIDE_DBUS_H) && !defined (DBUS_COMPILATION) 0024 #error "Only <dbus/dbus.h> can be included directly, this file may disappear or change contents." 0025 #endif 0026 0027 #ifndef DBUS_MISC_H 0028 #define DBUS_MISC_H 0029 0030 #include <dbus/dbus-types.h> 0031 #include <dbus/dbus-errors.h> 0032 0033 DBUS_BEGIN_DECLS 0034 0035 /** 0036 * @addtogroup DBusMisc 0037 * @{ 0038 */ 0039 DBUS_EXPORT 0040 char* dbus_get_local_machine_id (void); 0041 0042 DBUS_EXPORT 0043 void dbus_get_version (int *major_version_p, 0044 int *minor_version_p, 0045 int *micro_version_p); 0046 0047 DBUS_EXPORT 0048 dbus_bool_t dbus_setenv (const char *variable, 0049 const char *value); 0050 0051 DBUS_EXPORT 0052 char *dbus_try_get_local_machine_id (DBusError *error); 0053 0054 /** @} */ 0055 0056 DBUS_END_DECLS 0057 0058 #endif /* DBUS_MISC_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |