projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ascii.c: Move auto out of the #if HAVE_DECL_SIGWINCH condtional
[pspp]
/
src
/
libpspp
/
encoding-guesser.h
diff --git
a/src/libpspp/encoding-guesser.h
b/src/libpspp/encoding-guesser.h
index 2ec2fee2aaa19e0849cb64af078d8b730dad9f7c..0a7d1f99a4207d1cdbf6282d50343e588af82686 100644
(file)
--- a/
src/libpspp/encoding-guesser.h
+++ b/
src/libpspp/encoding-guesser.h
@@
-115,6
+115,10
@@
bool encoding_guess_tail_is_utf8 (const void *, size_t);
const char *encoding_guess_tail_encoding (const char *encoding,
const void *, size_t);
const char *encoding_guess_tail_encoding (const char *encoding,
const void *, size_t);
+/* Guessing from entire file contents. */
+const char *encoding_guess_whole_file (const char *encoding,
+ const void *, size_t);
+
/* Returns true if C is a byte that might appear in an ASCII text file,
false otherwise. */
static inline bool
/* Returns true if C is a byte that might appear in an ASCII text file,
false otherwise. */
static inline bool