#ifndef NETSTRING_H #define NETSTRING_H namespace icinga { class Netstring : public Object { private: size_t m_Length; void *m_Data; public: typedef shared_ptr RefType; typedef weak_ptr WeakRefType; static cJSON *ReadJSONFromFIFO(FIFO::RefType fifo); static void WriteJSONToFIFO(FIFO::RefType fifo, cJSON *object); }; } #endif /* NETSTRING_H */