pike.git / src / modules / _WhiteFish / whitefish.c

version» Context lines:

pike.git/src/modules/_WhiteFish/whitefish.c:1:   #include <math.h>      #include "global.h"   #include "stralloc.h"   #include "global.h" - RCSID("$Id: whitefish.c,v 1.19 2001/05/26 12:16:56 per Exp $"); + RCSID("$Id: whitefish.c,v 1.20 2001/05/28 12:33:40 per Exp $");   #include "pike_macros.h"   #include "interpret.h"   #include "program.h"   #include "program_id.h"   #include "object.h"   #include "operators.h"   #include "array.h"   #include "module_support.h"      #include "config.h"      #include "whitefish.h"   #include "resultset.h"   #include "blob.h"   #include "blobs.h" -  + #include "linkfarm.h"      /* must be included last */   #include "module_magic.h"      struct tofree   {    Blob **blobs;    Blob **tmp;    int nblobs;    struct object *res;
pike.git/src/modules/_WhiteFish/whitefish.c:463:    proximity_coefficients );    pop_n_elems( args );    push_object( res );   }      void pike_module_init(void)   {    init_resultset_program();    init_blob_program();    init_blobs_program(); +  init_linkfarm_program();       add_function( "do_query_merge", f_do_query_merge,    "function(array(int),array(int),array(int)"    ",function(int:string):object)",    0 );       add_function( "do_query_phrase", f_do_query_phrase,    "function(array(int),array(int)"    ",function(int:string):object)",    0 );   }      void pike_module_exit(void)   {    exit_resultset_program();    exit_blob_program();    exit_blobs_program(); -  +  exit_linkfarm_program();   }