Difference between revisions of "Peerd.c"
m |
|||
| Line 11: | Line 11: | ||
int main(int argc, char **argv) { | int main(int argc, char **argv) { | ||
| − | #include " | + | #include "util.c" // General utils, file,log,string etc |
#ifdef WINDOWS | #ifdef WINDOWS | ||
#include "servicate.c" // Make into a service for Win32 | #include "servicate.c" // Make into a service for Win32 | ||
Revision as of 09:35, 15 July 2006
// This article and all its includes are licenced under LGPL // GPL: http://www.gnu.org/copyleft/lesser.html // SRC: http://www.organicdesign.co.nz
- include <types.h>
- include <unistd.h>
- include <stdlib.h>
- include <stdio.h>
- include <string.h>
int main(int argc, char **argv) {
#include "util.c" // General utils, file,log,string etc #ifdef WINDOWS #include "servicate.c" // Make into a service for Win32 #else #include "daemonise.c" // Make into a daemon for Linux and OSX #endif #include "listSpace.c" // ListSpace function declarations and initialisation #include "nodeSpace.c" // NodeSpace function declarations and initialisation #include "serialise.c" // Nodal-to-text and visa-versa #include "interface.c" // Layer model (currently bitmap/imagemap-based) #include "server.c" // Set up listening socket and declare serverIterate #include "nodalHusk.c" // Build initial nodal environment
while(nodeReduce(ROOT));
free(hashBuf); free(space);
}



