Home
last modified time | relevance | path

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

/PHP-8.2/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.2/ext/fileinfo/
H A Dlibmagic.patch2638 -magic_getpath(const char *magicfile, int action)
2640 - if (magicfile != NULL)
2641 - return magicfile;
2643 - magicfile = getenv("MAGIC");
2644 - if (magicfile != NULL)
2645 - return magicfile;
2654 return file_apprentice(ms, magicfile, FILE_LOAD);
2673 magic_compile(struct magic_set *ms, const char *magicfile)
2676 return file_apprentice(ms, magicfile, FILE_LIST);

Completed in 12 milliseconds