summaryrefslogtreecommitdiff
path: root/src/persistence_client_library_lc_interface.h
diff options
context:
space:
mode:
authorihuerner <ihuerner@b9707d8c-442e-47db-affb-152dabb2260b>2012-08-09 11:05:42 +0000
committerihuerner <ihuerner@b9707d8c-442e-47db-affb-152dabb2260b>2012-08-09 11:05:42 +0000
commit715e5666dcb9fe8a0e7ac351658d4c359fdb9354 (patch)
tree9f01147b469561f1bf1cb7645a3430b4638bf9c7 /src/persistence_client_library_lc_interface.h
downloadpersistence-client-library-715e5666dcb9fe8a0e7ac351658d4c359fdb9354.tar.gz
Initial version of persistence client library on sourceforge (rev. 1281)
Diffstat (limited to 'src/persistence_client_library_lc_interface.h')
-rw-r--r--src/persistence_client_library_lc_interface.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/persistence_client_library_lc_interface.h b/src/persistence_client_library_lc_interface.h
new file mode 100644
index 0000000..5f2a4e3
--- /dev/null
+++ b/src/persistence_client_library_lc_interface.h
@@ -0,0 +1,50 @@
+#ifndef PERSISTENCE_CLIENT_LIBRARY_LC_INTERFACE_H
+#define PERSISTENCE_CLIENT_LIBRARY_LC_INTERFACE_H
+
+/******************************************************************************
+ * Project Persistency
+ * (c) copyright 2012
+ * Company XS Embedded GmbH
+ *****************************************************************************/
+/******************************************************************************
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
+ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+******************************************************************************/
+ /**
+ * @file persistence_client_library_lc_interface.h
+ * @ingroup Persistence client library
+ * @author Ingo Huerner
+ * @brief Implementation of the persistence client library lifecycle interface.
+ * @see
+ */
+
+#include <dbus/dbus.h>
+
+DBusHandlerResult checkLifecycleMsg(DBusConnection * connection, DBusMessage * message, void * user_data);
+
+int register_lifecycle();
+
+int unregister_lifecycle();
+
+void process_prepare_shutdown(unsigned char requestId);
+
+
+
+
+
+#endif /* PERSISTENCE_CLIENT_LIBRARY_LC_INTERFACE_H */