Roxen.git / server / etc / include / module.h

version» Context lines:

Roxen.git/server/etc/include/module.h:1: - // $Id: module.h,v 1.41 2000/09/16 20:23:46 per Exp $ + // $Id: module.h,v 1.42 2000/09/24 17:05:26 nilsson Exp $   #ifndef ROXEN_MODULE_H   #define ROXEN_MODULE_H   #include "config.h"   // compat   #define QUERY(var) query( #var )      // Like query, but for global variables.   #ifdef IN_ROXEN   #define GLOBVAR(x) query( #x )   #else /* !IN_ROXEN */   #define GLOBVAR(x) roxenp()->query(#x)   #endif /* IN_ROXEN */      #define CACHE(seconds) ([mapping(string:mixed)]id->misc)->cacheable=min(([mapping(string:mixed)]id->misc)->cacheable,seconds)   #define NOCACHE() ([mapping(string:mixed)]id->misc)->cacheable=0   #define TAGDOCUMENTATION mapping tagdocumentation(){return [mapping]get_value_from_file(__FILE__,"tagdoc","#define manual\n");}      #define ROXEN_MAJOR_VERSION 2 - #define ROXEN_MINOR_VERSION 1 + #define ROXEN_MINOR_VERSION 2         #define TYPE_STRING 1   #define TYPE_FILE 2   #define TYPE_INT 3   #define TYPE_DIR 4   #define TYPE_STRING_LIST 5   #define TYPE_MULTIPLE_STRING 5   #define TYPE_INT_LIST 6   #define TYPE_MULTIPLE_INT 6