home *** CD-ROM | disk | FTP | other *** search
/ PC Open 48 / pcopen48.iso / Internet / HtTrack / DATA1.CAB / Sources / src / htsrobots.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-21  |  1.9 KB  |  60 lines

  1. /* ------------------------------------------------------------ */
  2. /*
  3. HTTrack Website Copier, Offline Browser for Windows and Unix
  4. Copyright (C) Xavier Roche, Yann Philippot
  5.  
  6. This program is free software; you can redistribute it and/or
  7. modify it under the terms of the GNU General Public License
  8. as published by the Free Software Foundation; either version 2
  9. of the License, or 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, write to the Free Software
  18. Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  19.  
  20.  
  21. Important notes:
  22.  
  23. - We hereby ask people using this source NOT to use it in purpose of grabbing
  24. emails addresses, or collecting any other private information on persons.
  25. This would disgrace our work, and spoil the many hours we spent on it.
  26.  
  27.  
  28. This project has been developed by Xavier Roche and Yann Philippot,
  29. from the company Serianet at Caen, France (http://www.serianet.com)
  30.  
  31. Please visit our Website: http://www.httrack.com
  32. */
  33.  
  34. /* ------------------------------------------------------------ */
  35. /* File: httrack.c subroutines:                                 */
  36. /*       robots.txt (website robot file)                        */
  37. /* Author: Xavier Roche                                         */
  38. /* ------------------------------------------------------------ */
  39.  
  40.  
  41.  
  42. #ifndef HTSROBOTS_DEFH
  43. #define HTSROBOTS_DEFH 
  44.  
  45. // robots wizard
  46. typedef struct robots_wizard {
  47.   char adr[1024];
  48.   char token[1024];
  49.   struct robots_wizard* next;
  50. } robots_wizard;
  51.  
  52.  
  53. // robots
  54. int checkrobots(robots_wizard* robots,char* adr,char* fil);
  55. void checkrobots_free(robots_wizard* robots);
  56. int checkrobots_set(robots_wizard* robots,char* adr,char* data);
  57.  
  58.  
  59. #endif
  60.