summaryrefslogtreecommitdiff
path: root/src/file.h
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2019-06-08 22:16:24 +0000
committerChristos Zoulas <christos@zoulas.com>2019-06-08 22:16:24 +0000
commitb585021f2dd16f9195a2050a7dd6cf27aba9cdf3 (patch)
tree6a7e9abb9082c64f35251118712e0d02b9a2e1b8 /src/file.h
parent954da3a0fb8046e22c6fb74734b39eec79deea1e (diff)
downloadfile-git-b585021f2dd16f9195a2050a7dd6cf27aba9cdf3.tar.gz
PR/85: Add a simple CSV detector
Diffstat (limited to 'src/file.h')
-rw-r--r--src/file.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/file.h b/src/file.h
index 69a586ab..e3c88569 100644
--- a/src/file.h
+++ b/src/file.h
@@ -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);