home *** CD-ROM | disk | FTP | other *** search
/ Enter 1999 October / ENTER10_2.bin / prog_7 / mim / install.dir / mimo324 / ubk / urlblock.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-06-03  |  1.0 KB  |  58 lines

  1. //
  2. // Copyright (c) 1997 Content Technologies Limited. All rights reserved.
  3. //
  4. // HEADER
  5. //
  6. //        urlblock.h
  7. //
  8. // PACKAGE
  9. //
  10. //        UBK - URL Blocker
  11. //
  12. // DESCRIPTION
  13. //
  14. //        This header files defines the exported functions which form the necessary API
  15. //        a URL blocker must provide if it is to work with WEBsweeper.
  16. //
  17. //
  18. // REFERENCES
  19. //
  20. //        None.
  21. //
  22. // HISTORY
  23. //
  24. //        AUTHOR                DATE                CHANGES
  25. //
  26. //        Dominic Chambers    12-December-1997    Initial Version
  27. //
  28.  
  29. #ifndef BOOL
  30. typedef int BOOL;
  31. #endif
  32. #ifndef TRUE
  33. #define TRUE        1
  34. #endif
  35. #ifndef FALSE
  36. #define FALSE       0
  37. #endif
  38. #ifndef NULL
  39. #define NULL        0
  40. #endif
  41.  
  42. #if defined(__cplusplus)
  43. extern "C"
  44. #endif
  45. BOOL _declspec(dllexport) url_block_init(char* config_file_name, char* config_section_name);
  46.  
  47.  
  48. #if defined(__cplusplus)
  49. extern "C"
  50. #endif
  51. BOOL _declspec(dllexport) url_block_query(char* url, long host_ip_addr, char* reason_text, int buff_size);
  52.  
  53.  
  54. #if defined(__cplusplus)
  55. extern "C"
  56. #endif
  57. void _declspec(dllexport) url_block_terminate(void);
  58.