]>
git.ipfire.org Git - thirdparty/git.git/blob - fsck.h
5 * callback function for fsck_walk
6 * type is the expected type of the object or OBJ_ANY
9 * <0 error signaled and abort
10 * >0 error signaled and do not abort
12 typedef int (*fsck_walk_func
)(struct object
*obj
, int type
, void *data
);
14 /* descend in all linked child objects
15 * the return value is:
16 * -1 error in processing the object
17 * <0 return value of the callback, which lead to an abort
18 * >0 return value of the first sigaled error >0 (in the case of no other errors)
21 int fsck_walk(struct object
*obj
, fsck_walk_func walk
, void *data
);