Update to upstream 1.0.1
[profile/ivi/gsignond.git] / src / daemon / dbus / gsignond-dbus.h
1 /* vi: set et sw=4 ts=4 cino=t0,(0: */
2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /*
4  * This file is part of gsignond
5  *
6  * Copyright (C) 2012 Intel Corporation.
7  *
8  * Contact: Amarnath Valluri <amarnath.valluri@linux.intel.com>
9  *
10  * This library is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU Lesser General Public
12  * License as published by the Free Software Foundation; either
13  * version 2.1 of the License, or (at your option) any later version.
14  *
15  * This library is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18  * Lesser General Public License for more details.
19  *
20  * You should have received a copy of the GNU Lesser General Public
21  * License along with this library; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
23  * 02110-1301 USA
24  */
25
26 #ifndef __GSIGNOND_DBUS_H_
27 #define __GSIGNOND_DBUS_H_
28
29 /*
30  * Common DBUS definitions
31  */
32 #define GSIGNOND_DBUS_ADDRESS            "unix:path=%s/gsignond/bus-sock"
33 #define GSIGNOND_SERVICE_PREFIX          "com.google.code.AccountsSSO.gSingleSignOn"
34 #define GSIGNOND_SERVICE                 GSIGNOND_SERVICE_PREFIX
35 #define GSIGNOND_DAEMON_OBJECTPATH       "/com/google/code/AccountsSSO/gSingleSignOn"
36 #define GSIGNOND_DAEMON_INTERFACE        GSIGNOND_SERVICE_PREFIX ".AuthService"
37 #define GSIGNOND_IDENTITY_INTERFACE      GSIGNOND_SERVICE_PREFIX ".Identity"
38 #define GSIGNOND_AUTH_SESSION_INTERFACE  GSIGNOND_SERVICE_PREFIX ".AuthSession"
39 #define GSIGNOND_PLUGIN_OBJECTPATH       "/"
40
41 #define SIGNONUI_SERVICE                 "com.google.code.AccountsSSO.gSingleSignOn.UI"
42 #define SIGNONUI_OBJECTPATH              "/"
43 #define SIGNONUI_IFACE                   "com.google.code.AccountsSSO.gSingleSignOn.UI"
44 #define SIGNONUI_DIALOG_IFACE            "com.google.code.AccountsSSO.gSingleSignOn.UI.Dialog"
45 #define SIGNONUI_DIALOG_OBJECTPATH       "/Dialog"
46
47 #endif /* __GSIGNOND_DBUS_H_ */