-
-void sixdegrees(uint64_t keyid)
-{
- struct stats_key *keyinfo;
- int loop;
- long degree;
-
- if ((keyinfo = findinhash(keyid)) == NULL) {
- printf("Couldn't find key 0x%llX.\n", keyid);
- return;
- }
-
- printf("Six degrees for 0x%llX (%s):\n", keyinfo->keyid,
- keyid2uid(keyinfo->keyid));
-
- puts("\t\t Signs Signed by");
- for (loop = 1; loop < 7; loop++) {
- initcolour(false);
- degree = countdegree(keyinfo, 0, loop);
- printf("Degree %d:\t%8ld", loop, degree);
- initcolour(false);
- degree = countdegree(keyinfo, 1, loop);
- printf("\t%8ld\n", degree);
- }
-}
-
-