#include "hash.h"
#include "keydb.h"
#include "ll.h"
+#include "onak-conf.h"
#include "stats.h"
void findmaxpath(unsigned long max)
struct ll *curkey;
unsigned long distance, loop;
- printf("In findmaxpath\n");
distance = 0;
from = to = tmp = NULL;
hash_getkeysigs(0xF1BD4BE45B430367);
from->keyid,
to->keyid,
distance);
+ dofindpath(to->keyid, from->keyid, false);
}
int main(int argc, char *argv[])
{
+ readconfig();
initdb();
inithash();
findmaxpath(30);
printf("--------\n");
findmaxpath(30);
+ destroyhash();
cleanupdb();
return EXIT_SUCCESS;