7 * Take callback data, and return next object name in the buffer.
8 * When called after returning the name for the last object, return -1
9 * to signal EOF, otherwise return 0.
11 typedef int (*sha1_iterate_fn)(void *, unsigned char [20]);
14 * Make sure that our object store has all the commits necessary to
15 * connect the ancestry chain to some of our existing refs, and all
16 * the trees and blobs that these commits use.
18 * Return 0 if Ok, non zero otherwise (i.e. some missing objects)
20 extern int check_everything_connected(sha1_iterate_fn, int quiet, void *cb_data);
21 extern int check_everything_connected_with_transport(sha1_iterate_fn, int quiet,
23 struct transport *transport);
25 #endif /* CONNECTED_H */