mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
20 lines
452 B
C
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);
|