1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/include/ulib/internal/csp_interface.h
stefanocasazza ab5044b604 fix
2017-03-07 15:39:12 +01:00

20 lines
452 B
C

/* csp_interface.h */
#ifndef HAVE__BOOL
# define true 1
# define false 0
typedef _Bool bool;
#endif
#define U_CSP_INTERFACE
#include <ulib/base/base.h>
#include <ulib/internal/chttp.h>
#ifdef USE_LIBV8
char* runv8(const char* jssrc); /* compiles and executes javascript and returns the script return value as string */
#endif
char* get_reply(void);
unsigned int get_reply_capacity(void);
void set_reply_capacity(unsigned int n);