-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2014 Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016 Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
#ifndef CYCRIPT_HPP
#define CYCRIPT_HPP
-#include <sig/types.hpp>
#include <sstream>
+#include <sig/types.hpp>
+
#include "Pooling.hpp"
+#include "String.hpp"
bool CYRecvAll_(int socket, uint8_t *data, size_t size);
bool CYSendAll_(int socket, const uint8_t *data, size_t size);
-void CYNumerify(std::ostringstream &str, double value);
-void CYStringify(std::ostringstream &str, const char *data, size_t size);
-
double CYCastDouble(const char *value, size_t size);
double CYCastDouble(const char *value);
-extern "C" void CYHandleClient(int socket);
+void CYHandleClient(int socket);
template <typename Type_>
bool CYRecvAll(int socket, Type_ *data, size_t size) {
CYPool &CYGetGlobalPool();
+char **CYComplete(const char *word, const std::string &line, CYUTF8String (*run)(CYPool &pool, const std::string &));
+
+const char *CYPoolLibraryPath(CYPool &pool);
+
#endif/*CYCRIPT_HPP*/