Roxen.git / server / etc / modules / Roxen.pmod

version» Context lines:

Roxen.git/server/etc/modules/Roxen.pmod:1:   // This is a roxen pike module. Copyright © 1999 - 2004, Roxen IS.   // - // $Id: Roxen.pmod,v 1.273 2009/04/17 12:29:04 jonasw Exp $ + // $Id: Roxen.pmod,v 1.274 2009/04/20 14:09:30 jonasw Exp $      #include <roxen.h>   #include <config.h>   #include <version.h>   #include <module.h>   #include <stat.h>   #define roxen roxenp()      #ifdef HTTP_DEBUG   # define HTTP_WERR(X) report_debug("HTTP: "+X+"\n");
Roxen.git/server/etc/modules/Roxen.pmod:4030:    case "pike-version":    return ENCODE_RXML_TEXT(pike_version, type);    case "version":    return ENCODE_RXML_TEXT(roxenp()->version(), type);    case "base-version":    return ENCODE_RXML_TEXT(roxen_ver, type);    case "build":    return ENCODE_RXML_TEXT(roxen_build, type);    case "dist-version":    return ENCODE_RXML_TEXT(roxen_dist_version, type); +  case "dist-os": +  return ENCODE_RXML_TEXT(roxen_dist_os, type);    case "product-name":    return ENCODE_RXML_TEXT(roxen_product_name, type);    case "time":    CACHE(c->id,1);    return ENCODE_RXML_INT(time(), type);    case "server":    return ENCODE_RXML_TEXT (c->id->url_base(), type);    case "domain": {    // Handle hosts and adresses including IPv6 format    Standards.URI u = Standards.URI(c->id->url_base());