#define _DEFAULT_SOURCE
#include <unistd.h>
#include <signal.h>
+#include <time.h>
volatile sig_atomic_t sig_stop;
static u8 steam_symetric_key[ k_nSteamEncryptedAppTicketSymmetricKeyLen ];
static HSteamNetPollGroup client_pollgroup;
+#if 0
static void recieve_http( void *callresult, void *context )
{
HTTPRequestCompleted_t *result = callresult;
vg_free( buffer );
SteamAPI_ISteamHTTP_ReleaseHTTPRequest( hSteamHTTP, result->m_hRequest );
}
+#endif
static u64_steamid get_connection_authsteamid( SteamNetworkingMessage_t *msg )
{
/* TODO: Options to override, ammend, remove etc */
+ vg_set_mem_quota( 80*1024*1024 );
+ vg_alloc_quota();
+
highscores_init( 250000, 10000 );
+
if( !highscores_read() )
highscores_create_db();
}
highscores_serialize_all();
- highscores_free();
SteamAPI_ISteamNetworkingSockets_DestroyPollGroup( hSteamNetworkingSockets,
client_pollgroup );