Home
last modified time | relevance | path

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

/PHP-7.2/ext/fileinfo/libmagic/
H A Dmagic.c129 magic_load(struct magic_set *ms, const char *magicfile) in magic_load() argument
133 return file_apprentice(ms, magicfile, FILE_LOAD); in magic_load()
137 magic_compile(struct magic_set *ms, const char *magicfile) in magic_compile() argument
141 return file_apprentice(ms, magicfile, FILE_COMPILE); in magic_compile()
146 magic_list(struct magic_set *ms, const char *magicfile) in magic_list() argument
150 return file_apprentice(ms, magicfile, FILE_LIST); in magic_list()
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch2544 -magic_getpath(const char *magicfile, int action)
2546 - if (magicfile != NULL)
2547 - return magicfile;
2549 - magicfile = getenv("MAGIC");
2550 - if (magicfile != NULL)
2551 - return magicfile;
2560 return file_apprentice(ms, magicfile, FILE_LOAD);
2581 return file_apprentice(ms, magicfile, FILE_COMPILE);
2585 -magic_check(struct magic_set *ms, const char *magicfile)
2589 - return file_apprentice(ms, magicfile, FILE_CHECK);
[all …]

Completed in 13 milliseconds