summaryrefslogtreecommitdiffstats
path: root/server/monitor.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-11-03 10:57:10 -0500
committerSimo Sorce <idra@samba.org>2008-11-03 10:58:03 -0500
commitddbc682f58bcee78ac1dbd24b3c44da67512d888 (patch)
tree05d060f91d58a92a8c7f0e82e5f16e8006b8fb65 /server/monitor.h
parent73f7183c9d244e7cdbe5c7ec91677b64a5f08e8e (diff)
downloadsssd-ddbc682f58bcee78ac1dbd24b3c44da67512d888.tar.gz
sssd-ddbc682f58bcee78ac1dbd24b3c44da67512d888.tar.xz
sssd-ddbc682f58bcee78ac1dbd24b3c44da67512d888.zip
Use a common interface file for all users of the internal
sbus service.
Diffstat (limited to 'server/monitor.h')
-rw-r--r--server/monitor.h28
1 files changed, 21 insertions, 7 deletions
diff --git a/server/monitor.h b/server/monitor.h
index 8d9e026df..cb53916f6 100644
--- a/server/monitor.h
+++ b/server/monitor.h
@@ -1,12 +1,26 @@
-#ifndef _MONITOR_H_
-#define _MONITOR_H_
+/*
+ SSSD
+
+ Service monitor
+
+ Copyright (C) Simo Sorce 2008
-#define MONITOR_VERSION "0.1"
-#define MONITOR_DBUS_INTERFACE "org.freeipa.sssd.monitor"
-#define MONITOR_DBUS_PATH "/org/freeipa/sssd/monitor"
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
-/* D-BUS Methods */
-#define MONITOR_METHOD_VERSION "getVersion"
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _MONITOR_H_
+#define _MONITOR_H_
int start_monitor(TALLOC_CTX *mem_ctx,
struct event_context *event_ctx,