summaryrefslogtreecommitdiff
path: root/src/htswrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/htswrap.h')
-rw-r--r--src/htswrap.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/htswrap.h b/src/htswrap.h
index 03bf73f..b87bf11 100644
--- a/src/htswrap.h
+++ b/src/htswrap.h
@@ -35,14 +35,16 @@ Please visit our Website: http://www.httrack.com
/* Author: Xavier Roche */
/* ------------------------------------------------------------ */
-
-
#ifndef HTSWRAP_DEFH
#define HTSWRAP_DEFH
-int htswrap_init(void);
-int htswrap_add(char* name,void* fct);
-int htswrap_free(void);
-unsigned long int htswrap_read(char* name);
+#include "htsglobal.h"
+
+#ifndef HTTRACK_DEFLIB
+HTSEXT_API int htswrap_init(void);
+HTSEXT_API int htswrap_add(char* name,void* fct);
+HTSEXT_API int htswrap_free(void);
+HTSEXT_API unsigned long int htswrap_read(char* name);
+#endif
#endif