#ifndef REBASE_INTERACTIVE_H
#define REBASE_INTERACTIVE_H
-void append_todo_help(unsigned edit_todo, unsigned keep_empty,
+struct strbuf;
+struct repository;
+struct todo_list;
+
+void append_todo_help(unsigned keep_empty, int command_count,
+ const char *shortrevisions, const char *shortonto,
struct strbuf *buf);
-int append_todo_help_to_file(unsigned edit_todo, unsigned keep_empty);
-int edit_todo_list(unsigned flags);
+int edit_todo_list(struct repository *r, struct todo_list *todo_list,
+ struct todo_list *new_todo, const char *shortrevisions,
+ const char *shortonto, unsigned flags);
+int todo_list_check(struct todo_list *old_todo, struct todo_list *new_todo);
#endif