Home
last modified time | relevance | path

Searched refs:magicfile (Results 1 – 2 of 2) sorted by relevance

/PHP-8.1/ext/fileinfo/libmagic/
H A Dmagic.c123 magic_load(struct magic_set *ms, const char *magicfile) in magic_load() argument
127 return file_apprentice(ms, magicfile, FILE_LOAD); in magic_load()
131 magic_compile(struct magic_set *ms, const char *magicfile) in magic_compile() argument
135 return file_apprentice(ms, magicfile, FILE_COMPILE); in magic_compile()
139 magic_check(struct magic_set *ms, const char *magicfile) in magic_check() argument
143 return file_apprentice(ms, magicfile, FILE_CHECK); in magic_check()
147 magic_list(struct magic_set *ms, const char *magicfile) in magic_list() argument
151 return file_apprentice(ms, magicfile, FILE_LIST); in magic_list()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch2611 -magic_getpath(const char *magicfile, int action)
2613 - if (magicfile != NULL)
2614 - return magicfile;
2616 - magicfile = getenv("MAGIC");
2617 - if (magicfile != NULL)
2618 - return magicfile;
2627 return file_apprentice(ms, magicfile, FILE_LOAD);
2646 magic_compile(struct magic_set *ms, const char *magicfile)
2649 return file_apprentice(ms, magicfile, FILE_LIST);

Completed in 11 milliseconds