#include "getcgi.h"
#include "keydb.h"
#include "keyindex.h"
+#include "log.h"
#include "mem.h"
#include "onak-conf.h"
#include "parsekey.h"
puts("Error: No key to search for supplied.");
} else {
readconfig();
+ initlogthing("lookup", config.logfile);
initdb();
switch (op) {
case OP_GET:
puts("Unknown operation!");
}
cleanupdb();
+ cleanuplogthing();
+ cleanupconfig();
}
puts("<hr>");
puts("Produced by onak " VERSION " by Jonathan McDowell");