mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-21 23:04:53 -04:00
Fixed the update-libraries script (thanks to Anderson Souza) and added a basic Linux daemon for the server
This commit is contained in:
parent
bb904c4698
commit
5444c9aea6
19 changed files with 260 additions and 84 deletions
|
@ -21,11 +21,9 @@
|
|||
#include <iff/iff.h>
|
||||
#include "tsoscan.h"
|
||||
|
||||
IFFStats* stats_create(){
|
||||
IFFStats *stats = calloc(1, sizeof(IFFStats));
|
||||
if (stats == NULL) return NULL;
|
||||
int stats_create(IFFStats *stats){
|
||||
stats->AverageChunkCount = -1;
|
||||
return stats;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int stats_version_increment(IFFStats *stats, char *type, unsigned version){
|
||||
|
@ -107,5 +105,4 @@ void stats_delete(IFFStats *stats){
|
|||
free(stats->ChunkTypes[i].Versions);
|
||||
free(stats->ChunkTypes);
|
||||
}
|
||||
free(stats);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue