Revert "compat: add strtok_r()"
[git/mingw.git] / connected.h
blob7e4585a6cbccdb35f4a4481fae1eaf417539e97d
1 #ifndef CONNECTED_H
2 #define CONNECTED_H
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 */
9 typedef int (*sha1_iterate_fn)(void *, unsigned char [20]);
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.
16 * Return 0 if Ok, non zero otherwise (i.e. some missing objects)
18 extern int check_everything_connected(sha1_iterate_fn, int quiet, void *cb_data);
20 #endif /* CONNECTED_H */