Update Debian Vcs-* fields to point to git repository
[onak.git] / gpgstats-0.0.2 / graphstuff.h
1 /*
2         grahpstuff.h - Code to handle the various graph algorithms
3         Written by Jonathan McDowell <noodles@earth.li>.
4
5         19/02/2000 - Started writing (sort of).
6 */
7
8 #ifndef __GRAPHSTUFF_H__
9 #define __GRAPHSTUFF_H__
10
11 #include <stdint.h>
12
13 #include "stats.h"
14
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);
22 long checkselfsig();
23 unsigned long countdegree(struct stats_key *have, int sigs, int maxdegree);
24
25 #endif /*__GRAPHSTUFF_H__ */