diff options
author | Christos Zoulas <christos@zoulas.com> | 2019-06-08 22:16:24 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2019-06-08 22:16:24 +0000 |
commit | b585021f2dd16f9195a2050a7dd6cf27aba9cdf3 (patch) | |
tree | 6a7e9abb9082c64f35251118712e0d02b9a2e1b8 /src/file.h | |
parent | 954da3a0fb8046e22c6fb74734b39eec79deea1e (diff) | |
download | file-git-b585021f2dd16f9195a2050a7dd6cf27aba9cdf3.tar.gz |
PR/85: Add a simple CSV detector
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.206 2019/05/07 02:27:11 christos Exp $ + * @(#)$File: file.h,v 1.207 2019/06/08 22:16:24 christos Exp $ */ #ifndef __file_h__ @@ -479,6 +479,7 @@ protected int file_ascmagic_with_encoding(struct magic_set *, protected int file_encoding(struct magic_set *, const struct buffer *, unichar **, size_t *, const char **, const char **, const char **); protected int file_is_json(struct magic_set *, const struct buffer *); +protected int file_is_csv(struct magic_set *, const struct buffer *); protected int file_is_tar(struct magic_set *, const struct buffer *); protected int file_softmagic(struct magic_set *, const struct buffer *, uint16_t *, uint16_t *, int, int); |