Added message input to the wireshark sink
diff --git a/grc/misc_utils/gsm_wireshark_sink.xml b/grc/misc_utils/gsm_wireshark_sink.xml
index 1e810d1..eeeb436 100644
--- a/grc/misc_utils/gsm_wireshark_sink.xml
+++ b/grc/misc_utils/gsm_wireshark_sink.xml
@@ -5,34 +5,9 @@
   <category>gsm</category>
   <import>import gsm</import>
   <make>gsm.wireshark_sink()</make>
-  <!-- Make one 'param' node for every Parameter you want settable from the GUI.
-       Sub-nodes:
-       * name
-       * key (makes the value accessible as $keyname, e.g. in the make node)
-       * type -->
-  <param>
-    <name>...</name>
-    <key>...</key>
-    <type>...</type>
-  </param>
 
-  <!-- Make one 'sink' node per input. Sub-nodes:
-       * name (an identifier for the GUI)
-       * type
-       * vlen
-       * optional (set to 1 for optional inputs) -->
   <sink>
-    <name>in</name>
-    <type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type>
+    <name>msgs</name>
+    <type>message</type>
   </sink>
-
-  <!-- Make one 'source' node per output. Sub-nodes:
-       * name (an identifier for the GUI)
-       * type
-       * vlen
-       * optional (set to 1 for optional inputs) -->
-  <source>
-    <name>out</name>
-    <type><!-- e.g. int, float, complex, byte, short, xxx_vector, ...--></type>
-  </source>
 </block>
diff --git a/lib/misc_utils/wireshark_sink_impl.cc b/lib/misc_utils/wireshark_sink_impl.cc
index 1606818..e2b0558 100644
--- a/lib/misc_utils/wireshark_sink_impl.cc
+++ b/lib/misc_utils/wireshark_sink_impl.cc
@@ -28,6 +28,12 @@
 namespace gr {
   namespace gsm {
 
+    void wireshark_sink_impl::send_to_wireshark(pmt::pmt_t msg)
+    {
+        //implementation of sending gsm messages to wireshark
+    }
+
+
     wireshark_sink::sptr
     wireshark_sink::make()
     {
@@ -42,7 +48,11 @@
       : gr::block("wireshark_sink",
               gr::io_signature::make(0, 0, 0),
               gr::io_signature::make(0, 0, 0))
-    {}
+    {
+        message_port_register_in(pmt::mp("msgs"));
+        set_msg_handler(pmt::mp("msgs"), boost::bind(&wireshark_sink_impl::send_to_wireshark, this, _1));
+    }
+
 
     /*
      * Our virtual destructor.
diff --git a/lib/misc_utils/wireshark_sink_impl.h b/lib/misc_utils/wireshark_sink_impl.h
index 4992d05..8069255 100644
--- a/lib/misc_utils/wireshark_sink_impl.h
+++ b/lib/misc_utils/wireshark_sink_impl.h
@@ -29,7 +29,7 @@
     class wireshark_sink_impl : public wireshark_sink
     {
      private:
-      // Nothing to declare in this block.
+        void send_to_wireshark(pmt::pmt_t msg);
 
      public:
       wireshark_sink_impl();