diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 18:05:57 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 18:05:57 +0000 |
commit | 6ce91ec1f3602402c7d82ee36b3287bf61f02ecb (patch) | |
tree | 3d39c11b7ad0b1f61195072730d9ab1d778282ab /src | |
parent | 95b9374ff3192cc8df8a7c1d8335302f4d98ba2d (diff) |
HTTRACK_DEFLIB cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/htscatchurl.h | 6 | ||||
-rw-r--r-- | src/htscoremain.h | 5 | ||||
-rw-r--r-- | src/htslib.h | 4 | ||||
-rw-r--r-- | src/htsthread.h | 3 | ||||
-rw-r--r-- | src/htstools.h | 5 |
5 files changed, 0 insertions, 23 deletions
diff --git a/src/htscatchurl.h b/src/htscatchurl.h index 3c5496e..02259dd 100644 --- a/src/htscatchurl.h +++ b/src/htscatchurl.h @@ -43,12 +43,6 @@ Please visit our Website: http://www.httrack.com // Fonctions void socinput(T_SOC soc, char *s, int max); -#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"\ "Content-type: text/html\r\n"\ diff --git a/src/htscoremain.h b/src/htscoremain.h index 6bf2cfd..05baeaf 100644 --- a/src/htscoremain.h +++ b/src/htscoremain.h @@ -43,11 +43,6 @@ Please visit our Website: http://www.httrack.com /* Library internal definictions */ #ifdef HTS_INTERNAL_BYTECODE -// Main, récupère les paramètres et appelle le robot -#ifndef HTTRACK_DEFLIB -HTSEXT_API int hts_main(int argc, char **argv); -HTSEXT_API int hts_main2(int argc, char **argv, httrackp * opt); -#endif int cmdl_opt(char *s); int check_path(String * s, char *defaultname); diff --git a/src/htslib.h b/src/htslib.h index e13dbeb..8a6c206 100644 --- a/src/htslib.h +++ b/src/htslib.h @@ -319,10 +319,6 @@ int ishtml_ext(const char *a); int ishttperror(int err); void guess_httptype(httrackp * opt, char *s, const char *fil); -#ifndef HTTRACK_DEFLIB -HTSEXT_API void get_httptype(httrackp * opt, char *s, const char *fil, - int flag); -#endif int get_userhttptype(httrackp * opt, char *s, const char *fil); void give_mimext(char *s, const char *st); diff --git a/src/htsthread.h b/src/htsthread.h index 2590309..3376d99 100644 --- a/src/htsthread.h +++ b/src/htsthread.h @@ -64,9 +64,6 @@ struct htsmutex_s { /* Library internal definictions */ HTSEXT_API int hts_newthread(void (*fun) (void *arg), void *arg); -#ifndef HTTRACK_DEFLIB -HTSEXT_API void htsthread_wait(void); -#endif HTSEXT_API void htsthread_wait_n(int n_wait); /* Locking functions */ diff --git a/src/htstools.h b/src/htstools.h index 2b8d6f0..953a691 100644 --- a/src/htstools.h +++ b/src/htstools.h @@ -106,11 +106,6 @@ HTSEXT_API int hts_findisdir(find_handle find); HTSEXT_API int hts_findisfile(find_handle find); HTSEXT_API int hts_findissystem(find_handle find); -#ifndef HTTRACK_DEFLIB -HTSEXT_API char *hts_getcategory(const char *filename); -HTSEXT_API char *hts_getcategories(char *path, int type); -#endif - #endif #endif |