Move all induction folder related host code into induct.c

This commit is contained in:
jsteube
2016-09-22 17:06:53 +02:00
parent b6f966970b
commit 919b5d5148
4 changed files with 162 additions and 132 deletions

View File

@@ -10,8 +10,11 @@
#include <sys/stat.h>
#include <unistd.h>
#define INDUCT_DIR "induct"
static const char INDUCT_DIR[] = "induct";
int sort_by_mtime (const void *p1, const void *p2);
int induct_ctx_init (induct_ctx_t *induct_ctx, const user_options_t *user_options, const folder_config_t *folder_config, const time_t proc_start);
void induct_ctx_scan (induct_ctx_t *induct_ctx);
void induct_ctx_cleanup (induct_ctx_t *induct_ctx);
void induct_ctx_destroy (induct_ctx_t *induct_ctx);
#endif // _INDUCT_H