Fixed the update-libraries script (thanks to Anderson Souza) and added a basic Linux daemon for the server

This commit is contained in:
Fatbag 2012-11-11 17:10:53 -06:00
parent bb904c4698
commit 5444c9aea6
19 changed files with 260 additions and 84 deletions

View file

@ -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);
}