00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 # ifndef PLUGIN_H_INCLUDED
00013 # define PLUGIN_H_INCLUDED
00014
00015 #include <stdio.h>
00016
00017
00018
00171 void plugin_init(char *plugin_file);
00172 void plugin_exit();
00173
00174 void* plugin_null(void);
00175 void* plugin_copy_constructor(void *words);
00176 void* plugin_parse_document(char* line, double* alphay, long* queryid, long* slackid, double* costfactor, long* highest_feature, long max_words, char** comment);
00177
00178 double plugin_kernel(void* a, void* b);
00179 void plugin_write(FILE*, void*);
00180 void plugin_destructor(void*);
00181 void plugin_clip(void*, int);
00182 void plugin_kernel_setparm(char *kernel_parm);
00183
00184 # endif