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
2017-12-05 17:33:34 +01:00

24 lines
524 B
C

/* csp_interface.h */
#ifndef HAVE__BOOL
# define true 1
# define false 0
typedef _Bool bool;
#endif
#ifndef _SYS_SYSMACROS_H_OUTER
#define _SYS_SYSMACROS_H_OUTER 1
#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);