Path: blob/master/thirdparty/linuxbsd_headers/dbus/dbus.h
9903 views
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */1/* dbus.h Convenience header including all other headers2*3* Copyright (C) 2002, 2003 Red Hat Inc.4*5* Licensed under the Academic Free License version 2.16*7* This program is free software; you can redistribute it and/or modify8* it under the terms of the GNU General Public License as published by9* the Free Software Foundation; either version 2 of the License, or10* (at your option) any later version.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software19* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA20*21*/2223#ifndef DBUS_H24#define DBUS_H2526#define DBUS_INSIDE_DBUS_H 12728#include <dbus/dbus-arch-deps.h>29#include <dbus/dbus-address.h>30#include <dbus/dbus-bus.h>31#include <dbus/dbus-connection.h>32#include <dbus/dbus-errors.h>33#include <dbus/dbus-macros.h>34#include <dbus/dbus-message.h>35#include <dbus/dbus-misc.h>36#include <dbus/dbus-pending-call.h>37#include <dbus/dbus-protocol.h>38#include <dbus/dbus-server.h>39#include <dbus/dbus-shared.h>40#include <dbus/dbus-signature.h>41#include <dbus/dbus-syntax.h>42#include <dbus/dbus-threads.h>43#include <dbus/dbus-types.h>4445#undef DBUS_INSIDE_DBUS_H4647/**48* @defgroup DBus D-Bus low-level public API49* @brief The low-level public API of the D-Bus library50*51* libdbus provides a low-level C API intended primarily for use by52* bindings to specific object systems and languages. D-Bus is most53* convenient when used with the GLib bindings, Python bindings, Qt54* bindings, Mono bindings, and so forth. This low-level API has a55* lot of complexity useful only for bindings.56*57* @{58*/5960/** @} */6162/**63* @mainpage64*65* This manual documents the <em>low-level</em> D-Bus C API. <b>If you use66* this low-level API directly, you're signing up for some pain.</b>67*68* Caveats aside, you might get started learning the low-level API by reading69* about @ref DBusConnection and @ref DBusMessage.70*71* There are several other places to look for D-Bus information, such72* as the tutorial and the specification; those can be found at <a73* href="http://www.freedesktop.org/wiki/Software/dbus">the D-Bus74* website</a>. If you're interested in a sysadmin or package75* maintainer's perspective on the dbus-daemon itself and its76* configuration, be sure to check out the man pages as well.77*78* The low-level API documented in this manual deliberately lacks79* most convenience functions - those are left up to higher-level libraries80* based on frameworks such as GLib, Qt, Python, Mono, Java,81* etc. These higher-level libraries (often called "D-Bus bindings")82* have features such as object systems and main loops that allow a83* <em>much</em> more convenient API.84*85* The low-level API also contains plenty of clutter to support86* integration with arbitrary object systems, languages, main loops,87* and so forth. These features add a lot of noise to the API that you88* probably don't care about unless you're coding a binding.89*90* This manual also contains docs for @ref DBusInternals "D-Bus internals",91* so you can use it to get oriented to the D-Bus source code if you're92* interested in patching the code. You should also read the93* file HACKING which comes with the source code if you plan to contribute to94* D-Bus.95*96* As you read the code, you can identify internal D-Bus functions97* because they start with an underscore ('_') character. Also, any98* identifier or macro that lacks a DBus, dbus_, or DBUS_ namepace99* prefix is internal, with a couple of exceptions such as #NULL,100* #TRUE, and #FALSE.101*/102103#endif /* DBUS_H */104105106