|
@ -27,10 +27,6 @@ void PNACL_message(char *arg,...) |
|
|
} |
|
|
} |
|
|
#define FROM_MARKETMAKER |
|
|
#define FROM_MARKETMAKER |
|
|
|
|
|
|
|
|
#ifndef CJSON_GARBAGECOLLECTION |
|
|
|
|
|
#define CJSON_GARBAGECOLLECTION |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
#include <stdio.h> |
|
|
#include <stdint.h> |
|
|
#include <stdint.h> |
|
|
#ifndef NATIVE_WINDOWS |
|
|
#ifndef NATIVE_WINDOWS |
|
@ -39,7 +35,7 @@ void PNACL_message(char *arg,...) |
|
|
#include "../../crypto777/OS_portable.h" |
|
|
#include "../../crypto777/OS_portable.h" |
|
|
#endif // !_WIN_32
|
|
|
#endif // !_WIN_32
|
|
|
|
|
|
|
|
|
#define malloc(n) LP_alloc(n) |
|
|
/*#define malloc(n) LP_alloc(n)
|
|
|
#define realloc(ptr,n) LP_realloc(ptr,n) |
|
|
#define realloc(ptr,n) LP_realloc(ptr,n) |
|
|
#define calloc(a,b) LP_alloc((uint64_t)(a) * (b)) |
|
|
#define calloc(a,b) LP_alloc((uint64_t)(a) * (b)) |
|
|
#define free(ptr) LP_free(ptr) |
|
|
#define free(ptr) LP_free(ptr) |
|
@ -48,7 +44,7 @@ void PNACL_message(char *arg,...) |
|
|
void *LP_realloc(void *ptr,uint64_t len); |
|
|
void *LP_realloc(void *ptr,uint64_t len); |
|
|
void *LP_alloc(uint64_t len); |
|
|
void *LP_alloc(uint64_t len); |
|
|
void LP_free(void *ptr); |
|
|
void LP_free(void *ptr); |
|
|
char *LP_clonestr(char *str); |
|
|
char *LP_clonestr(char *str);*/ |
|
|
|
|
|
|
|
|
#define MAX(a,b) ((a) > (b) ? (a) : (b)) |
|
|
#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); |
|
|
char *stats_JSON(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,char *remoteaddr,uint16_t port); |
|
|