#define issue_curl(cmdstr) bitcoind_RPC(0,"curl",cmdstr,0,0,0,0)
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#define SATOSHIDEN ((uint64_t)100000000L)
|
#define SATOSHIDEN ((uint64_t)100000000L)
|
||||||
|
#define issue_curl(cmdstr) bitcoind_RPC(0,"prices",cmdstr,0,0,0,0)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
In order to port a game into gamesCC, the RNG needs to be seeded with the gametxid seed, also events needs to be broadcast using issue_games_events. Also the game engine needs to be daemonized, preferably by putting all globals into a single data structure.
|
In order to port a game into gamesCC, the RNG needs to be seeded with the gametxid seed, also events needs to be broadcast using issue_games_events. Also the game engine needs to be daemonized, preferably by putting all globals into a single data structure.
|
||||||
@@ -189,7 +190,7 @@ char *send_curl(char *url,char *fname)
|
|||||||
//long fsize; char curlstr[1024];
|
//long fsize; char curlstr[1024];
|
||||||
//sprintf(curlstr,"curl --url \"%s\" > %s",url,fname);
|
//sprintf(curlstr,"curl --url \"%s\" > %s",url,fname);
|
||||||
char *retstr;
|
char *retstr;
|
||||||
retstr = issue_curl(url,10);
|
retstr = issue_curl(url);
|
||||||
if ( retstr != 0 )
|
if ( retstr != 0 )
|
||||||
printf("retstr (%s)\n",retstr);
|
printf("retstr (%s)\n",retstr);
|
||||||
return(retstr);
|
return(retstr);
|
||||||
|
|||||||
Reference in New Issue
Block a user