/* ------------------------------------------------------------ */ /* HTTrack Website Copier, Offline Browser for Windows and Unix Copyright (C) 1998-2017 Xavier Roche and other contributors This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Important notes: - We hereby ask people using this source NOT to use it in purpose of grabbing emails addresses, or collecting any other private information on persons. This would disgrace our work, and spoil the many hours we spent on it. Please visit our Website: http://www.httrack.com */ /* ------------------------------------------------------------ */ /* File: Global engine definition file */ /* Author: Xavier Roche */ /* ------------------------------------------------------------ */ // Ensemble des paramètres du robot #ifndef HTTRACK_GLOBAL_ENGINE_DEFH #define HTTRACK_GLOBAL_ENGINE_DEFH // ------------------------------------------------------------ // Définitions du ROBOT // accès des miroirs pour les autres utilisateurs (0/1) #define HTS_ACCESS 1 // temps de poll d'une socket: 1/10s #define HTS_SOCK_SEC 0 #define HTS_SOCK_MS 100000 // nom par défaut #define DEFAULT_HTML "index.html" // nom par défaut pour / en ftp #define DEFAULT_FTP "index.txt" // extension par défaut pour fichiers n'en ayant pas #define DEFAULT_EXT ".html" #define DEFAULT_EXT_SHORT ".htm" //#define DEFAULT_BIN_EXT ".bin" //#define DEFAULT_BIN_EXT_SHORT ".bin" //#define DEFAULT_EXT ".txt" //#define DEFAULT_EXT_SHORT ".txt" // éviter les /nul, /con.. #define HTS_OVERRIDE_DOS_FOLDERS 1 // indexing (keyword) #define HTS_MAKE_KEYWORD_INDEX 1 // poll stdin autorisé? (0/1) #define HTS_POLL 1 // le slash est un html par défaut (exemple/ est toujours un html) #define HTS_SLASH_ISHTML 1 // supprimer index si un répertoire identique existe #define HTS_REMOVE_ANNOYING_INDEX 1 // écriture directe dur disque possible (0/1) #define HTS_DIRECTDISK 1 // always direct-to-disk (0/1) #define HTS_DIRECTDISK_ALWAYS 1 // gérer une table de hachage? // REMOVED // #define HTS_HASH 1 // fast cache (build hash table) #define HTS_FAST_CACHE 1 // le > peut être considéré comme un tag de fermeture de commentaire (