Fix formatting
[tmk.git] / tm_update.h
blob74e8b33c07d0b67dde3d788d7c5eb5b3ab87c8f6
1 #ifndef TM_UPDATE_H
2 #define TM_UPDATE_H
4 #include <sqlite3.h>
6 #define JIM_EMBEDDED
7 #include <jim.h>
9 #include "tm_target.h"
11 extern target_list *updated_targets;
14 int file_exists(const char *filename);
16 void wrap(Jim_Interp *interp, int error);
18 int update(sqlite3 *db, const char *tmfile, const char *target);
19 int was_updated(const char *target);
20 int needs_update(sqlite3 *db, const char *tmfile, const char *target);
21 target_list *need_update(sqlite3 *db, const char *tmfile, target_list *targets);
23 void update_rules(sqlite3 *db,
24 Jim_Interp *interp,
25 const char *tmfile,
26 tm_rule_list *sorted_rules,
27 int force,
28 int silence);
30 #endif