builtin/apply: move init_apply_state() to apply.c
[gitweb.git] / apply.h
diff --git a/apply.h b/apply.h
index 7493a40c730a636c43e3b21bd06a2027da003a68..08c0a252cbe898f087107123ea10bb142f8d43b2 100644 (file)
--- a/apply.h
+++ b/apply.h
@@ -97,4 +97,14 @@ struct apply_state {
        int applied_after_fixing_ws;
 };
 
+extern int parse_whitespace_option(struct apply_state *state,
+                                  const char *option);
+extern int parse_ignorewhitespace_option(struct apply_state *state,
+                                        const char *option);
+
+extern void init_apply_state(struct apply_state *state,
+                            const char *prefix,
+                            struct lock_file *lock_file);
+extern void clear_apply_state(struct apply_state *state);
+
 #endif