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.42 2004/03/08 17:57:14 anders Exp $ + // $Id: Utils.pmod,v 1.43 2004/08/25 12:05:28 js 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:828:    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)",    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)