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

version» Context lines:

Roxen.git/server/etc/include/module.h:1:   // -*- pike -*-   // - // $Id: module.h,v 1.56 2002/12/09 12:48:13 grubba Exp $ + // $Id: module.h,v 1.57 2003/08/29 14:03:58 stewa Exp $      #ifndef ROXEN_MODULE_H   #define ROXEN_MODULE_H   /* #include "config.h" */   #include <roxen.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 NO_PROTO_CACHE() ([mapping(string:mixed)]id->misc)->no_proto_cache=1   #define TAGDOCUMENTATION mapping tagdocumentation(){return [mapping]get_value_from_file(__FILE__,"tagdoc","#define manual\n");}    - #define ROXEN_MAJOR_VERSION 2 - #define ROXEN_MINOR_VERSION 4 + #define ROXEN_MAJOR_VERSION 3 + #define ROXEN_MINOR_VERSION 5         #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