pike.git / lib / modules / Search.pmod / module.pmod

version» Context lines:

pike.git/lib/modules/Search.pmod/module.pmod:17:    int last_changed;    int size;    string content_type;   }      private mapping filters=([]);      void create()   {   // werror("Loading filters\n"); -  foreach(values(Search.Filter), program filter) +  foreach(values(Search.Filter.Base), program filter)    {    Search.Filter.Base tmp=filter();    foreach(tmp->contenttypes || ({ }), string mime)    filters[mime]=tmp;    }      // if(!sizeof(filters))   // werror("No filters loaded\n");   // else   // werror("Loaded %d filters\n", sizeof(filters));