methods.c
上传用户:qin5330
上传日期:2007-01-05
资源大小:114k
文件大小:0k
源码类别:

搜索引擎

开发平台:

Perl

  1. /*
  2. ** methods.c
  3. */
  4. #include "swish.h"
  5. #ifdef ALLOW_FILESYSTEM_INDEXING_DATA_SOURCE
  6. extern struct _indexing_data_source_def FileSystemIndexingDataSource;
  7. #endif
  8. #ifdef ALLOW_HTTP_INDEXING_DATA_SOURCE
  9. extern struct _indexing_data_source_def HTTPIndexingDataSource;
  10. #endif
  11. struct _indexing_data_source_def *data_sources[] = {
  12. #ifdef ALLOW_FILESYSTEM_INDEXING_DATA_SOURCE
  13.     &FileSystemIndexingDataSource,
  14. #endif
  15. #ifdef ALLOW_HTTP_INDEXING_DATA_SOURCE
  16.     &HTTPIndexingDataSource,
  17. #endif
  18.     0
  19. };