summaryrefslogtreecommitdiff
path: root/src/nhm-helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nhm-helper.h')
-rw-r--r--src/nhm-helper.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/nhm-helper.h b/src/nhm-helper.h
new file mode 100644
index 0000000..d20a08f
--- /dev/null
+++ b/src/nhm-helper.h
@@ -0,0 +1,45 @@
+#ifndef NHM_HELPER_H
+#define NHM_HELPER_H
+
+/* NHM - NodeHealthMonitor
+ *
+ * Author: Jean-Pierre Bogler <Jean-Pierre.Bogler@continental-corporation.com>
+ *
+ * Copyright (C) 2013 Continental Automotive Systems, Inc.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public License,
+ * v. 2.0. If a copy of the MPL was not distributed with this file, You can
+ * obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/*******************************************************************************
+*
+* Header includes
+*
+*******************************************************************************/
+
+#include <dlt/dlt.h> /* DLT traces */
+#include <glib-2.0/glib.h> /* Use GTypes */
+
+
+/*******************************************************************************
+*
+* Exported variables
+*
+*******************************************************************************/
+
+/* Export a global trace context that can be used everywhere in NHM */
+DLT_IMPORT_CONTEXT(nhm_helper_trace_ctx);
+
+
+/*******************************************************************************
+*
+* Exported functions
+*
+*******************************************************************************/
+
+gboolean nhm_helper_str_in_strv(const gchar *str,
+ gchar *strv[]);
+
+
+#endif /* NHM_HELPER_H */