summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2014-05-27 16:05:54 +0000
committerXavier Roche <xroche@users.noreply.github.com>2014-05-27 16:05:54 +0000
commitc3987aca717d438aff9b9d9378a3bc69748400d1 (patch)
tree9e5d8b743dda15b2e022378d184a3185d67e2712 /src
parentf67a86657bcf3d2e77f8148869524bc2e486f656 (diff)
Export may_unknown and guess_httptype
Diffstat (limited to 'src')
-rw-r--r--src/htslib.h2
-rw-r--r--src/httrack-library.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/htslib.h b/src/htslib.h
index 37b430d..30bd2f4 100644
--- a/src/htslib.h
+++ b/src/htslib.h
@@ -325,12 +325,10 @@ void map_characters(unsigned char *buffer, unsigned int size,
int ishtml(httrackp * opt, const char *urlfil);
int ishtml_ext(const char *a);
int ishttperror(int err);
-void guess_httptype(httrackp * opt, char *s, const char *fil);
int get_userhttptype(httrackp * opt, char *s, const char *fil);
void give_mimext(char *s, const char *st);
-int may_unknown(httrackp * opt, const char *st);
int may_bogus_multiple(httrackp * opt, const char *mime, const char *filename);
int may_unknown2(httrackp * opt, const char *mime, const char *filename);
diff --git a/src/httrack-library.h b/src/httrack-library.h
index cfc049b..2638401 100644
--- a/src/httrack-library.h
+++ b/src/httrack-library.h
@@ -240,6 +240,8 @@ HTSEXT_API int is_knowntype(httrackp * opt, const char *fil);
HTSEXT_API int is_userknowntype(httrackp * opt, const char *fil);
HTSEXT_API int is_dyntype(const char *fil);
HTSEXT_API const char *get_ext(char *catbuff, size_t size, const char *fil);
+HTSEXT_API int may_unknown(httrackp * opt, const char *st);
+HTSEXT_API void guess_httptype(httrackp * opt, char *s, const char *fil);
/* Ugly string tools */
HTSEXT_API char *concat(char *catbuff, size_t size, const char *a, const char *b);