summaryrefslogtreecommitdiff
path: root/src/htscatchurl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htscatchurl.h')
-rw-r--r--src/htscatchurl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/htscatchurl.h b/src/htscatchurl.h
index 77036fd..a2514ef 100644
--- a/src/htscatchurl.h
+++ b/src/htscatchurl.h
@@ -43,9 +43,11 @@ Please visit our Website: http://www.httrack.com
// Fonctions
void socinput(T_SOC soc,char* s,int max);
-T_SOC catch_url_init_std(int* port_prox,char* adr_prox);
-T_SOC catch_url_init(int* port,char* adr);
-int catch_url(T_SOC soc,char* url,char* method,char* data);
+#ifndef HTTRACK_DEFLIB
+HTSEXT_API T_SOC catch_url_init_std(int* port_prox,char* adr_prox);
+HTSEXT_API T_SOC catch_url_init(int* port,char* adr);
+HTSEXT_API int catch_url(T_SOC soc,char* url,char* method,char* data);
+#endif
#define CATCH_RESPONSE \
"HTTP/1.0 200 OK\r\n"\