1#ifndef CONNECTED_H 2#define CONNECTED_H 3 4/* 5 * Take callback data, and return next object name in the buffer. 6 * When called after returning the name for the last object, return -1 7 * to signal EOF, otherwise return 0. 8 */ 9typedefint(*sha1_iterate_fn)(void*,unsigned char[20]); 10 11/* 12 * Make sure that our object store has all the commits necessary to 13 * connect the ancestry chain to some of our existing refs, and all 14 * the trees and blobs that these commits use. 15 * 16 * Return 0 if Ok, non zero otherwise (i.e. some missing objects) 17 */ 18externintcheck_everything_connected(sha1_iterate_fn,int quiet,void*cb_data); 19 20#endif/* CONNECTED_H */