diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 15:13:29 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-02 15:13:29 +0000 |
commit | 5544f503bf0fcfd050b4e338e8ec7b22e2f53b9a (patch) | |
tree | 2d65f1fd285c450cbb1c676697ad13b5a47a835c /src/htscore.h | |
parent | b3fa8537c411e6e2d53044b1d5d20c361d2ad17d (diff) |
Big cleanup in functions writing to a char buffer without proper size boundary.
Diffstat (limited to 'src/htscore.h')
-rw-r--r-- | src/htscore.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/htscore.h b/src/htscore.h index 4440564..f082d11 100644 --- a/src/htscore.h +++ b/src/htscore.h @@ -298,26 +298,6 @@ HTS_STATIC int cache_readable(cache_back * cache) { /* Library internal definictions */ #ifdef HTS_INTERNAL_BYTECODE -// -#ifndef HTTRACK_DEFLIB -HTSEXT_API int hts_is_parsing(httrackp * opt, int flag); -HTSEXT_API int hts_is_testing(httrackp * opt); -HTSEXT_API int hts_addurl(httrackp * opt, char **url); -HTSEXT_API int hts_resetaddurl(httrackp * opt); -HTSEXT_API int copy_htsopt(const httrackp * from, httrackp * to); -HTSEXT_API char *hts_errmsg(httrackp * opt); -HTSEXT_API int hts_setpause(httrackp * opt, int); - -// -HTSEXT_API int hts_is_exiting(httrackp * opt); -HTSEXT_API int hts_request_stop(httrackp * opt, int force); - -// -HTSEXT_API int hts_cancel_file_push(httrackp * opt, const char *url); -HTSEXT_API void hts_cancel_test(httrackp * opt); -HTSEXT_API void hts_cancel_parsing(httrackp * opt); -#endif - char *hts_cancel_file_pop(httrackp * opt); #endif @@ -345,11 +325,6 @@ void usercommand(httrackp * opt, int exe, const char *cmd, const char *file, void usercommand_exe(const char *cmd, const char *file); int filters_init(char ***ptrfilters, int maxfilter, int filterinc); -#ifndef HTTRACK_DEFLIB -HTSEXT_API int structcheck(const char *path); -HTSEXT_API int structcheck_utf8(const char *path); -HTSEXT_API int dir_exists(const char *path); -#endif int fspc(httrackp * opt, FILE * fp, const char *type); char *next_token(char *p, int flag); @@ -377,13 +352,6 @@ int backlinks_done(struct_back * sback, lien_url ** liens, int lien_tot, int back_fillmax(struct_back * sback, httrackp * opt, cache_back * cache, lien_url ** liens, int ptr, int numero_passe, int lien_tot); -// cancel file -#ifndef HTTRACK_DEFLIB -HTSEXT_API int hts_cancel_file_push(httrackp * opt, const char *url); -HTSEXT_API void hts_cancel_test(httrackp * opt); -HTSEXT_API void hts_cancel_parsing(httrackp * opt); -#endif - int ask_continue(httrackp * opt); int nombre_digit(int n); |