|
|
@ -42,9 +42,11 @@ void PNACL_message(char *arg,...) |
|
|
|
#define malloc(n) LP_alloc(n) |
|
|
|
#define calloc(a,b) LP_alloc((uint64_t)(a) * (b)) |
|
|
|
#define free(ptr) LP_free(ptr) |
|
|
|
#define clonestr(str) LP_clonestr(str) |
|
|
|
|
|
|
|
void *LP_alloc(uint64_t len); |
|
|
|
void LP_free(void *ptr); |
|
|
|
char *LP_clonestr(char *str); |
|
|
|
|
|
|
|
#define MAX(a,b) ((a) > (b) ? (a) : (b)) |
|
|
|
char *stats_JSON(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,char *remoteaddr,uint16_t port); |
|
|
|