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

version» Context lines:

pike.git/lib/modules/Search.pmod/Utils.pmod:1:   // This file is part of Roxen Search   // Copyright © 2001 Roxen IS. All rights reserved.   // - // $Id: Utils.pmod,v 1.44 2004/09/20 13:40:56 mast Exp $ + // $Id: Utils.pmod,v 1.45 2007/03/15 13:28:45 jonasw Exp $      #if !constant(report_error)   #define report_error werror   #define report_debug werror   #define report_warning werror   #endif      #ifdef SEARCH_DEBUG   # define WERR(X) report_debug("search: "+(X)+"\n");   #else
pike.git/lib/modules/Search.pmod/Utils.pmod:780:    33 : "Filter-to-indexer buffer failed to set up pipe.",    34 : "Indexer failed to set up pipe.",       40 : "Fetched %s.",    41 : "Unknown language code \"%s\".",    42 : "Crawler exited normally.",    43 : "Cleared search database.",    44 : "Sitebuilder commit triggered indexing of %s.",       50 : "Crawler did not get any connection from the process.", -  51 : "Crawler-to-filter bufferdid not get any connection from the process.", +  51 : "Crawler-to-filter buffer did not get any connection from the process.",    52 : "Filter did not get any connection from the process.",    53 : "Filter-to-indexer buffer did not get any connection from the process.",    54 : "Indexer did not get any connection from the process.",       60 : "Starting database compactor with %s",    61 : "Failed to find any data in the database.",    62 : "Exiting compacter due to signal.",    63 : "Done with database compacting and maintenance.",       300: "300 Redirection: Multiple Choices (%s)",
pike.git/lib/modules/Search.pmod/Utils.pmod:826:    500: "500 Server Error: Internal Server Error (%s)",    501: "501 Server Error: Not Implemented (%s)",    502: "502 Server Error: Bad Gateway (%s)",    503: "503 Server Error: Service Unavailable (%s)",    504: "504 Server Error: Gateway Timeout (%s)",    505: "505 Server Error: HTTP Version Not Supported (%s)",       1000: "Disallowed by robots.txt. (%s)",    1001: "Can't handle scheme. (%s)",    1002: "No matching filter. (%s)", -  1003: "Too large content file. (%s)", +  1003: "Too large content file -- indexing metadata only. (%s)",    1100: "Failed to connect to %s.",    ]);          //!    array(array(string|int)) get_log( int profile, array(string) types,    int from, int to ) {       string sql = "";   #define SQLADD(X) do{sizeof(sql)?(sql+=" AND "+(X)):(sql=" WHERE "+(X));}while(0)