Added IPC support to attention handler

Created a listener thread that configures and starts the attention
gpio monitor. The listener remains resident in memory and accepts
run-time commands to configure (or stop) the attention handler.

Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I032fe25a49d43d91a1f7d41cc34318839cd7de05
diff --git a/listener.hpp b/listener.hpp
new file mode 100644
index 0000000..48f5cbf
--- /dev/null
+++ b/listener.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+/**
+ * @brief Start a thread to listen for attention handler messages
+ *
+ * @param i_params command line arguments passed to main
+ */
+void* threadListener(void* i_params);
+
+/**
+ * @brief Send command line to a thread
+ *
+ * @param i_argc command line arguments count
+ * @param i_argv command line arguments
+ *
+ * @return number of cmd line arguments sent
+ */
+int sendCmdLine(int i_argc, char** i_argv);
+
+/**
+ * @brief See if the listener thread message queue exists
+ *
+ *  @return true if message queue exists, else false
+ */
+bool listenerMqExists();