Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/fsck.h
diff options
context:
space:
mode:
authorMartin Koegler <mkoegler@auto.tuwien.ac.at>2008-02-26 00:46:09 +0300
committerJunio C Hamano <gitster@pobox.com>2008-02-26 10:57:35 +0300
commitd6ffc8d784d41977397a49ce5333cfe7db1e9c2c (patch)
tree5d9c63ed4d3798f9273b8f08b2d3ccf5ce7a208b /fsck.h
parentba002f3b28ab9febea432d4c415dbe581836d9a0 (diff)
add common fsck error printing function
Signed-off-by: Martin Koegler <mkoegler@auto.tuwien.ac.at> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'fsck.h')
-rw-r--r--fsck.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fsck.h b/fsck.h
index 9bd37c9f1c..990ee02335 100644
--- a/fsck.h
+++ b/fsck.h
@@ -17,6 +17,8 @@ typedef int (*fsck_walk_func)(struct object *obj, int type, void *data);
/* callback for fsck_object, type is FSCK_ERROR or FSCK_WARN */
typedef int (*fsck_error)(struct object *obj, int type, const char *err, ...);
+int fsck_error_function(struct object *obj, int type, const char *fmt, ...);
+
/* descend in all linked child objects
* the return value is:
* -1 error in processing the object