Roxen.git
/
server
/
etc
/
include
/
module.h
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/etc/include/module.h:1:
// -*- pike -*- //
-
// $Id: module.h,v 1.
58
2003/
09
/
01
15
:
53
:
13
grubba
Exp $
+
// $Id: module.h,v 1.
59
2003/
11
/
25
16
:
00
:
12
anders
Exp $
#ifndef ROXEN_MODULE_H #define ROXEN_MODULE_H /* #include "config.h" */ #include <roxen.h> // compat // // NOTE: This used to be a valid lvalue. // In the few places where it was used as an lvalue, // use set("var", value). #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 3 #define ROXEN_MINOR_VERSION 5 #define TYPE_STRING 1 #define TYPE_FILE 2 #define TYPE_INT 3 #define TYPE_DIR 4