Difference between revisions of "Peerd.c"
m |
m |
||
| Line 1: | Line 1: | ||
// This article and all its includes are licenced under LGPL | // This article and all its includes are licenced under LGPL | ||
| − | // http://www.gnu.org/copyleft/lesser.html | + | // GPL: http://www.gnu.org/copyleft/lesser.html |
| + | // SRC: http://www.organicdesign.co.nz | ||
#include <types.h> | #include <types.h> | ||
Revision as of 01:10, 11 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 "file.c" // Logging and file read/write #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);
}



