09/06/2006
Perl XS and SWIG interface to CLucene C++ text search engine
17
CLucene C DLL Interface
lsrc/wrappers/dll/clucene_dll.h:
l#ifndef _DLL_CLUCENE
l#define _DLL_CLUCENE
l#include "CLucene/CLConfig.h"
l…
l#ifdef _UNICODE
l//unicode methods
l# define CL_UNLOCK CL_U_Unlock
l# define CL_OPEN CL_U_Open
l# define CL_DOCUMENT_INFO CL_U_Document_Info
l# define CL_ADD_FILE CL_U_Add_File
l…
lCLUCENEDLL_API int CL_U_Unlock(const wchar_t* dir);
lCLUCENEDLL_API int CL_U_Delete(const int resource, const wchar_t* query,
l const wchar_t* field);
lCLUCENEDLL_API int CL_U_Add_Field(const int resource, const wchar_t* fie
lld, const wchar_t* value, const int value_length, const int store, const int ind
lex, const int token);
l…
l