scanner: check defined media types before parsing files

This commit is contained in:
Justin Maggard
2014-04-28 16:01:30 -07:00
parent f9c37fb205
commit 61bb91ecc9
3 changed files with 7 additions and 7 deletions

View File

@@ -75,7 +75,7 @@ int64_t
insert_directory(const char *name, const char *path, const char *base, const char *parentID, int objectID);
int
insert_file(char *name, const char *path, const char *parentID, int object);
insert_file(char *name, const char *path, const char *parentID, int object, media_types dir_types);
int
CreateDatabase(void);