#ifndef ADD_INTERACTIVE_H #define ADD_INTERACTIVE_H #include "color.h" struct add_i_state { … }; void init_add_i_state(struct add_i_state *s, struct repository *r); void clear_add_i_state(struct add_i_state *s); struct repository; struct pathspec; int run_add_i(struct repository *r, const struct pathspec *ps); enum add_p_mode { … }; int run_add_p(struct repository *r, enum add_p_mode mode, const char *revision, const struct pathspec *ps); #endif