Lines Matching defs:md5
30 #include <md5.h>
506 * This function generates an md5 hash of the file passed as its 2nd parameter
650 " md5_hash = :md5 AND file = :file AND"
665 idx = sqlite3_bind_parameter_index(inner_stmt, ":md5");
784 warnx("An error occurred in checking md5 value"
1717 " md5_hash = :md5 WHERE file = :file";
1737 idx = sqlite3_bind_parameter_index(stmt, ":md5");
1798 * Generates the md5 hash of the file and checks if it already doesn't exist
1802 * to the md5 hash of the file (computed previously). It is the responsibility
1805 * -1: If an error occurs somewhere and sets the md5 return buffer to NULL.
1806 * 0: If the md5 hash does not exist in the table.
1810 check_md5(const char *file, sqlite3 *db, char **md5, void *buf, size_t buflen)
1817 *md5 = NULL;
1822 warn("md5 failed: %s", file);
1845 *md5 = mymd5;