VOL-1150 A single threaded implementation for the OpenOLT driver

Stats collection is driven from the main thread.

Change-Id: I773a4aeb0e840f2a36895e39b999b2dcaf2adaa6
diff --git a/src/core.h b/src/core.h
index 2890eb3..b0c3b5f 100644
--- a/src/core.h
+++ b/src/core.h
@@ -22,6 +22,10 @@
 using grpc::Status;
 #include <openolt.grpc.pb.h>
 
+#include "state.h"
+
+extern State state;
+
 Status Enable_();
 Status ActivateOnu_(uint32_t intf_id, uint32_t onu_id,
     const char *vendor_id, const char *vendor_specific, uint32_t pir);