#ifndef CYCRIPT_HPP
#define CYCRIPT_HPP
-#include <apr_pools.h>
#include <sig/types.hpp>
#include <sstream>
-#include "String.hpp"
-
-void CYInitializeStatic();
+#include "Pooling.hpp"
bool CYRecvAll_(int socket, uint8_t *data, size_t size);
bool CYSendAll_(int socket, const uint8_t *data, size_t size);
double CYCastDouble(const char *value, size_t size);
double CYCastDouble(const char *value);
-extern "C" void CYHandleClient(apr_pool_t *pool, int socket);
+extern "C" void CYHandleClient(int socket);
template <typename Type_>
bool CYRecvAll(int socket, Type_ *data, size_t size) {
return CYSendAll_(socket, reinterpret_cast<const uint8_t *>(data), size);
}
-apr_pool_t *CYGetGlobalPool();
+CYPool &CYGetGlobalPool();
#endif/*CYCRIPT_HPP*/