2 grahpstuff.h - Code to handle the various graph algorithms
3 Written by Jonathan McDowell <noodles@earth.li>.
5 19/02/2000 - Started writing (sort of).
8 #ifndef __GRAPHSTUFF_H__
9 #define __GRAPHSTUFF_H__
15 int keycmp(struct stats_key *key1, struct stats_key *key2);
16 struct ll *addkey(struct ll *curkey, uint64_t keyid);
17 void readkeys(const char *filename);
18 void DFSVisit(int type, struct stats_key *key,
19 unsigned long *time, unsigned long *depth);
20 unsigned long DFS(void);
21 unsigned long DFSsorted(void);
23 unsigned long countdegree(struct stats_key *have, int sigs, int maxdegree);
25 #endif /*__GRAPHSTUFF_H__ */