* softmagic - lookup one file in database (already read from /etc/magic by * apprentice.c). Passed the name and FILE * of one file to be typed. */ ARGSUSED1 */ nbytes passed for regularity, maybe need later */
| 1493 | */ |
| 1494 | /* ARGSUSED1 *//* nbytes passed for regularity, maybe need later */ |
| 1495 | static int softmagic(request_rec *r, unsigned char *buf, apr_size_t nbytes) |
| 1496 | { |
| 1497 | if (match(r, buf, nbytes)) |
| 1498 | return 1; |
| 1499 | |
| 1500 | return 0; |
| 1501 | } |
| 1502 | |
| 1503 | /* |
| 1504 | * Go through the whole list, stopping if you find a match. Process all the |