diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-26 19:27:46 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-26 19:27:46 +0000 |
commit | 5364514f340287bcce591955fce500ed57d2da79 (patch) | |
tree | ca2097bd351fe9d4d137a2d7fe687dd0b815d56b /src/htsopt.h | |
parent | f078a39677953cf8d3cdaedcb1b3c4db65473308 (diff) |
Big links heap handling cleanup, and removed very old and legacy macros
Diffstat (limited to 'src/htsopt.h')
-rw-r--r-- | src/htsopt.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/htsopt.h b/src/htsopt.h index 4a40420..fc7a4cc 100644 --- a/src/htsopt.h +++ b/src/htsopt.h @@ -274,6 +274,11 @@ typedef enum htsparsejava_flags { HTSPARSE_NO_AGGRESSIVE = 8 // don't aggressively parse .js or .java } htsparsejava_flags; +#ifndef HTS_DEF_FWSTRUCT_lien_buffers +#define HTS_DEF_FWSTRUCT_lien_buffers +typedef struct lien_buffers lien_buffers; +#endif + // paramètres httrack (options) #ifndef HTS_DEF_FWSTRUCT_httrackp #define HTS_DEF_FWSTRUCT_httrackp @@ -362,7 +367,9 @@ struct httrackp { String urllist; // fichier liste de filtres à inclure htsfilters filters; // contient les pointeurs pour les filtres hash_struct *hash; // hash structure - lien_url **liens; // liens + lien_url **liens; // links + int lien_tot; // top index of "links" heap (always out-of-range) + lien_buffers *liensbuf; // links buffers robots_wizard *robotsptr; // robots ptr String lang_iso; // en, fr .. String accept; // Accept: |