D-Bus 1.6.12

dbus-server-launchd.h

00001 /* dbus-server-launchd.h Server methods for interacting with launchd.
00002 * Copyright (C) 2008, Benjamin Reed <rangerrick@befunk.com>
00003 *
00004 * Permission is hereby granted, free of charge, to any person
00005 * obtaining a copy of this software and associated documentation
00006 * files (the "Software"), to deal in the Software without
00007 * restriction, including without limitation the rights to use, copy,
00008 * modify, merge, publish, distribute, sublicense, and/or sell copies
00009 * of the Software, and to permit persons to whom the Software is
00010 * furnished to do so, subject to the following conditions:
00011 *
00012 * The above copyright notice and this permission notice shall be
00013 * included in all copies or substantial portions of the Software.
00014 *
00015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00016 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00017 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00018 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
00019 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
00020 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
00021 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
00022 * DEALINGS IN THE SOFTWARE.
00023 */
00024 
00025 #ifndef DBUS_SERVER_LAUNCHD_H
00026 #define DBUS_SERVER_LAUNCHD_H
00027 
00028 #include <dbus/dbus-internals.h>
00029 #include <dbus/dbus-server-protected.h>
00030 
00031 DBUS_BEGIN_DECLS
00032 
00033 DBusServer * _dbus_server_new_for_launchd (const char *launchd_env_var, DBusError * error);
00034 
00035 DBUS_END_DECLS
00036 #endif /* DBUS_SERVER_LAUNCHD_H */