1 /* ------------------------------------------------------------ */ 2 /* 3 HTTrack Website Copier, Offline Browser for Windows and Unix 4 Copyright (C) 1998-2017 Xavier Roche and other contributors 5 6 This program is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 This program is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 18 19 Important notes: 20 21 - We hereby ask people using this source NOT to use it in purpose of grabbing 22 emails addresses, or collecting any other private information on persons. 23 This would disgrace our work, and spoil the many hours we spent on it. 24 25 Please visit our Website: http://www.httrack.com 26 */ 27 28 /* ------------------------------------------------------------ */ 29 /* File: httrack.c subroutines: */ 30 /* wrapper system (for shell */ 31 /* Author: Xavier Roche */ 32 /* ------------------------------------------------------------ */ 33 34 #ifndef HTSWRAP_DEFH 35 #define HTSWRAP_DEFH 36 37 /* Library internal definictions */ 38 #ifdef HTS_INTERNAL_BYTECODE 39 40 #include "htsglobal.h" 41 #include "coucal.h" 42 43 /* Forward definitions */ 44 #ifndef HTS_DEF_FWSTRUCT_httrackp 45 #define HTS_DEF_FWSTRUCT_httrackp 46 typedef struct httrackp httrackp; 47 #endif 48 49 #ifdef __cplusplus 50 extern "C" { 51 #endif 52 53 HTSEXT_API int htswrap_init(void); // LEGACY 54 HTSEXT_API int htswrap_free(void); // LEGACY 55 56 #ifdef __cplusplus 57 } 58 #endif 59 60 //HTSEXT_API int htswrap_add(httrackp * opt, const char *name, void *fct); 61 //HTSEXT_API uintptr_t htswrap_read(httrackp * opt, const char *name); 62 63 #endif 64 65 #endif 66