Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-objvar
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
varnish-objvar
Commits
1597ee14
Commit
1597ee14
authored
Feb 04, 2019
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto-updated docs
parent
89d3c1b0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
660 additions
and
660 deletions
+660
-660
vmod_constant.rst
src/vmod_constant.rst
+90
-90
vmod_globalvar.rst
src/vmod_globalvar.rst
+150
-150
vmod_taskvar.rst
src/vmod_taskvar.rst
+210
-210
vmod_topvar.rst
src/vmod_topvar.rst
+210
-210
No files found.
src/vmod_constant.rst
View file @
1597ee14
...
@@ -20,95 +20,95 @@ SYNOPSIS
...
@@ -20,95 +20,95 @@ SYNOPSIS
import constant [from "path"]
import constant [from "path"]
:ref:`
obj_
acl`
:ref:`
vmod_constant.
acl`
:ref:`func_
acl.get`
:ref:`vmod_constant.
acl.get`
:ref:`func_
acl.defined`
:ref:`vmod_constant.
acl.defined`
:ref:`
obj_
backend`
:ref:`
vmod_constant.
backend`
:ref:`func_
backend.get`
:ref:`vmod_constant.
backend.get`
:ref:`func_
backend.defined`
:ref:`vmod_constant.
backend.defined`
:ref:`
obj_
blob`
:ref:`
vmod_constant.
blob`
:ref:`func_
blob.get`
:ref:`vmod_constant.
blob.get`
:ref:`func_
blob.defined`
:ref:`vmod_constant.
blob.defined`
:ref:`
obj_
body`
:ref:`
vmod_constant.
body`
:ref:`func_
body.get`
:ref:`vmod_constant.
body.get`
:ref:`func_
body.defined`
:ref:`vmod_constant.
body.defined`
:ref:`
obj_
bool`
:ref:`
vmod_constant.
bool`
:ref:`func_
bool.get`
:ref:`vmod_constant.
bool.get`
:ref:`func_
bool.defined`
:ref:`vmod_constant.
bool.defined`
:ref:`
obj_
bytes`
:ref:`
vmod_constant.
bytes`
:ref:`func_
bytes.get`
:ref:`vmod_constant.
bytes.get`
:ref:`func_
bytes.defined`
:ref:`vmod_constant.
bytes.defined`
:ref:`
obj_
duration`
:ref:`
vmod_constant.
duration`
:ref:`func_
duration.get`
:ref:`vmod_constant.
duration.get`
:ref:`func_
duration.defined`
:ref:`vmod_constant.
duration.defined`
:ref:`
obj_
header`
:ref:`
vmod_constant.
header`
:ref:`func_
header.get`
:ref:`vmod_constant.
header.get`
:ref:`func_
header.defined`
:ref:`vmod_constant.
header.defined`
:ref:`
obj_
int`
:ref:`
vmod_constant.
int`
:ref:`func_
int.get`
:ref:`vmod_constant.
int.get`
:ref:`func_
int.defined`
:ref:`vmod_constant.
int.defined`
:ref:`
obj_
ip`
:ref:`
vmod_constant.
ip`
:ref:`func_
ip.get`
:ref:`vmod_constant.
ip.get`
:ref:`func_
ip.defined`
:ref:`vmod_constant.
ip.defined`
:ref:`
obj_
probe`
:ref:`
vmod_constant.
probe`
:ref:`func_
probe.get`
:ref:`vmod_constant.
probe.get`
:ref:`func_
probe.defined`
:ref:`vmod_constant.
probe.defined`
:ref:`
obj_
real`
:ref:`
vmod_constant.
real`
:ref:`func_
real.get`
:ref:`vmod_constant.
real.get`
:ref:`func_
real.defined`
:ref:`vmod_constant.
real.defined`
:ref:`
obj_
stevedore`
:ref:`
vmod_constant.
stevedore`
:ref:`func_
stevedore.get`
:ref:`vmod_constant.
stevedore.get`
:ref:`func_
stevedore.defined`
:ref:`vmod_constant.
stevedore.defined`
:ref:`
obj_
string`
:ref:`
vmod_constant.
string`
:ref:`func_
string.get`
:ref:`vmod_constant.
string.get`
:ref:`func_
string.defined`
:ref:`vmod_constant.
string.defined`
:ref:`
obj_
time`
:ref:`
vmod_constant.
time`
:ref:`func_
time.get`
:ref:`vmod_constant.
time.get`
:ref:`func_
time.defined`
:ref:`vmod_constant.
time.defined`
DESCRIPTION
DESCRIPTION
...
@@ -149,7 +149,7 @@ for the respective type names and the ``.get()`` fallback.
...
@@ -149,7 +149,7 @@ for the respective type names and the ``.get()`` fallback.
.. just a newline
.. just a newline
.. _
obj_
acl:
.. _
vmod_constant.
acl:
new xacl = constant.acl([ACL init])
new xacl = constant.acl([ACL init])
-----------------------------------
-----------------------------------
...
@@ -158,7 +158,7 @@ Construct a(n) ACL constant with the value `init`,
...
@@ -158,7 +158,7 @@ Construct a(n) ACL constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
acl.get:
.. _
vmod_constant.
acl.get:
ACL xacl.get(ACL fallback)
ACL xacl.get(ACL fallback)
--------------------------
--------------------------
...
@@ -166,14 +166,14 @@ ACL xacl.get(ACL fallback)
...
@@ -166,14 +166,14 @@ ACL xacl.get(ACL fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
acl.defined:
.. _
vmod_constant.
acl.defined:
BOOL xacl.defined()
BOOL xacl.defined()
-------------------
-------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
backend:
.. _
vmod_constant.
backend:
new xbackend = constant.backend([BACKEND init])
new xbackend = constant.backend([BACKEND init])
-----------------------------------------------
-----------------------------------------------
...
@@ -182,7 +182,7 @@ Construct a(n) BACKEND constant with the value `init`,
...
@@ -182,7 +182,7 @@ Construct a(n) BACKEND constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
backend.get:
.. _
vmod_constant.
backend.get:
BACKEND xbackend.get(BACKEND fallback=0)
BACKEND xbackend.get(BACKEND fallback=0)
----------------------------------------
----------------------------------------
...
@@ -190,14 +190,14 @@ BACKEND xbackend.get(BACKEND fallback=0)
...
@@ -190,14 +190,14 @@ BACKEND xbackend.get(BACKEND fallback=0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is no backend.
if it is undefined. The default fallback is no backend.
.. _
func_
backend.defined:
.. _
vmod_constant.
backend.defined:
BOOL xbackend.defined()
BOOL xbackend.defined()
-----------------------
-----------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
blob:
.. _
vmod_constant.
blob:
new xblob = constant.blob([BLOB init])
new xblob = constant.blob([BLOB init])
--------------------------------------
--------------------------------------
...
@@ -206,7 +206,7 @@ Construct a(n) BLOB constant with the value `init`,
...
@@ -206,7 +206,7 @@ Construct a(n) BLOB constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
blob.get:
.. _
vmod_constant.
blob.get:
BLOB xblob.get(BLOB fallback)
BLOB xblob.get(BLOB fallback)
-----------------------------
-----------------------------
...
@@ -214,14 +214,14 @@ BLOB xblob.get(BLOB fallback)
...
@@ -214,14 +214,14 @@ BLOB xblob.get(BLOB fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
blob.defined:
.. _
vmod_constant.
blob.defined:
BOOL xblob.defined()
BOOL xblob.defined()
--------------------
--------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
body:
.. _
vmod_constant.
body:
new xbody = constant.body([BODY init])
new xbody = constant.body([BODY init])
--------------------------------------
--------------------------------------
...
@@ -230,7 +230,7 @@ Construct a(n) BODY constant with the value `init`,
...
@@ -230,7 +230,7 @@ Construct a(n) BODY constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
body.get:
.. _
vmod_constant.
body.get:
BODY xbody.get(BODY fallback)
BODY xbody.get(BODY fallback)
-----------------------------
-----------------------------
...
@@ -238,14 +238,14 @@ BODY xbody.get(BODY fallback)
...
@@ -238,14 +238,14 @@ BODY xbody.get(BODY fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
body.defined:
.. _
vmod_constant.
body.defined:
BOOL xbody.defined()
BOOL xbody.defined()
--------------------
--------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
bool:
.. _
vmod_constant.
bool:
new xbool = constant.bool([BOOL init])
new xbool = constant.bool([BOOL init])
--------------------------------------
--------------------------------------
...
@@ -254,7 +254,7 @@ Construct a(n) BOOL constant with the value `init`,
...
@@ -254,7 +254,7 @@ Construct a(n) BOOL constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
bool.get:
.. _
vmod_constant.
bool.get:
BOOL xbool.get(BOOL fallback)
BOOL xbool.get(BOOL fallback)
-----------------------------
-----------------------------
...
@@ -262,14 +262,14 @@ BOOL xbool.get(BOOL fallback)
...
@@ -262,14 +262,14 @@ BOOL xbool.get(BOOL fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bool.defined:
.. _
vmod_constant.
bool.defined:
BOOL xbool.defined()
BOOL xbool.defined()
--------------------
--------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
bytes:
.. _
vmod_constant.
bytes:
new xbytes = constant.bytes([BYTES init])
new xbytes = constant.bytes([BYTES init])
-----------------------------------------
-----------------------------------------
...
@@ -278,7 +278,7 @@ Construct a(n) BYTES constant with the value `init`,
...
@@ -278,7 +278,7 @@ Construct a(n) BYTES constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
bytes.get:
.. _
vmod_constant.
bytes.get:
BYTES xbytes.get(BYTES fallback)
BYTES xbytes.get(BYTES fallback)
--------------------------------
--------------------------------
...
@@ -286,14 +286,14 @@ BYTES xbytes.get(BYTES fallback)
...
@@ -286,14 +286,14 @@ BYTES xbytes.get(BYTES fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bytes.defined:
.. _
vmod_constant.
bytes.defined:
BOOL xbytes.defined()
BOOL xbytes.defined()
---------------------
---------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
duration:
.. _
vmod_constant.
duration:
new xduration = constant.duration([DURATION init])
new xduration = constant.duration([DURATION init])
--------------------------------------------------
--------------------------------------------------
...
@@ -302,7 +302,7 @@ Construct a(n) DURATION constant with the value `init`,
...
@@ -302,7 +302,7 @@ Construct a(n) DURATION constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
duration.get:
.. _
vmod_constant.
duration.get:
DURATION xduration.get(DURATION fallback=0)
DURATION xduration.get(DURATION fallback=0)
-------------------------------------------
-------------------------------------------
...
@@ -310,14 +310,14 @@ DURATION xduration.get(DURATION fallback=0)
...
@@ -310,14 +310,14 @@ DURATION xduration.get(DURATION fallback=0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is 0s.
if it is undefined. The default fallback is 0s.
.. _
func_
duration.defined:
.. _
vmod_constant.
duration.defined:
BOOL xduration.defined()
BOOL xduration.defined()
------------------------
------------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
header:
.. _
vmod_constant.
header:
new xheader = constant.header([HEADER init])
new xheader = constant.header([HEADER init])
--------------------------------------------
--------------------------------------------
...
@@ -326,7 +326,7 @@ Construct a(n) HEADER constant with the value `init`,
...
@@ -326,7 +326,7 @@ Construct a(n) HEADER constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
header.get:
.. _
vmod_constant.
header.get:
HEADER xheader.get(HEADER fallback)
HEADER xheader.get(HEADER fallback)
-----------------------------------
-----------------------------------
...
@@ -334,14 +334,14 @@ HEADER xheader.get(HEADER fallback)
...
@@ -334,14 +334,14 @@ HEADER xheader.get(HEADER fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
header.defined:
.. _
vmod_constant.
header.defined:
BOOL xheader.defined()
BOOL xheader.defined()
----------------------
----------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
int:
.. _
vmod_constant.
int:
new xint = constant.int([INT init])
new xint = constant.int([INT init])
-----------------------------------
-----------------------------------
...
@@ -350,7 +350,7 @@ Construct a(n) INT constant with the value `init`,
...
@@ -350,7 +350,7 @@ Construct a(n) INT constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
int.get:
.. _
vmod_constant.
int.get:
INT xint.get(INT fallback=0)
INT xint.get(INT fallback=0)
----------------------------
----------------------------
...
@@ -358,14 +358,14 @@ INT xint.get(INT fallback=0)
...
@@ -358,14 +358,14 @@ INT xint.get(INT fallback=0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is 0.
if it is undefined. The default fallback is 0.
.. _
func_
int.defined:
.. _
vmod_constant.
int.defined:
BOOL xint.defined()
BOOL xint.defined()
-------------------
-------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
ip:
.. _
vmod_constant.
ip:
new xip = constant.ip([IP init])
new xip = constant.ip([IP init])
--------------------------------
--------------------------------
...
@@ -374,7 +374,7 @@ Construct a(n) IP constant with the value `init`,
...
@@ -374,7 +374,7 @@ Construct a(n) IP constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
ip.get:
.. _
vmod_constant.
ip.get:
IP xip.get(IP fallback)
IP xip.get(IP fallback)
-----------------------
-----------------------
...
@@ -382,14 +382,14 @@ IP xip.get(IP fallback)
...
@@ -382,14 +382,14 @@ IP xip.get(IP fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
ip.defined:
.. _
vmod_constant.
ip.defined:
BOOL xip.defined()
BOOL xip.defined()
------------------
------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
probe:
.. _
vmod_constant.
probe:
new xprobe = constant.probe([PROBE init])
new xprobe = constant.probe([PROBE init])
-----------------------------------------
-----------------------------------------
...
@@ -398,7 +398,7 @@ Construct a(n) PROBE constant with the value `init`,
...
@@ -398,7 +398,7 @@ Construct a(n) PROBE constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
probe.get:
.. _
vmod_constant.
probe.get:
PROBE xprobe.get(PROBE fallback)
PROBE xprobe.get(PROBE fallback)
--------------------------------
--------------------------------
...
@@ -406,14 +406,14 @@ PROBE xprobe.get(PROBE fallback)
...
@@ -406,14 +406,14 @@ PROBE xprobe.get(PROBE fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
probe.defined:
.. _
vmod_constant.
probe.defined:
BOOL xprobe.defined()
BOOL xprobe.defined()
---------------------
---------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
real:
.. _
vmod_constant.
real:
new xreal = constant.real([REAL init])
new xreal = constant.real([REAL init])
--------------------------------------
--------------------------------------
...
@@ -422,7 +422,7 @@ Construct a(n) REAL constant with the value `init`,
...
@@ -422,7 +422,7 @@ Construct a(n) REAL constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
real.get:
.. _
vmod_constant.
real.get:
REAL xreal.get(REAL fallback=0.0)
REAL xreal.get(REAL fallback=0.0)
---------------------------------
---------------------------------
...
@@ -430,14 +430,14 @@ REAL xreal.get(REAL fallback=0.0)
...
@@ -430,14 +430,14 @@ REAL xreal.get(REAL fallback=0.0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is 0.0.
if it is undefined. The default fallback is 0.0.
.. _
func_
real.defined:
.. _
vmod_constant.
real.defined:
BOOL xreal.defined()
BOOL xreal.defined()
--------------------
--------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
stevedore:
.. _
vmod_constant.
stevedore:
new xstevedore = constant.stevedore([STEVEDORE init])
new xstevedore = constant.stevedore([STEVEDORE init])
-----------------------------------------------------
-----------------------------------------------------
...
@@ -446,7 +446,7 @@ Construct a(n) STEVEDORE constant with the value `init`,
...
@@ -446,7 +446,7 @@ Construct a(n) STEVEDORE constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
stevedore.get:
.. _
vmod_constant.
stevedore.get:
STEVEDORE xstevedore.get(STEVEDORE fallback)
STEVEDORE xstevedore.get(STEVEDORE fallback)
--------------------------------------------
--------------------------------------------
...
@@ -454,14 +454,14 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
...
@@ -454,14 +454,14 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
stevedore.defined:
.. _
vmod_constant.
stevedore.defined:
BOOL xstevedore.defined()
BOOL xstevedore.defined()
-------------------------
-------------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
string:
.. _
vmod_constant.
string:
new xstring = constant.string([STRING init])
new xstring = constant.string([STRING init])
--------------------------------------------
--------------------------------------------
...
@@ -470,7 +470,7 @@ Construct a(n) STRING constant with the value `init`,
...
@@ -470,7 +470,7 @@ Construct a(n) STRING constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
string.get:
.. _
vmod_constant.
string.get:
STRING xstring.get(STRING fallback=0)
STRING xstring.get(STRING fallback=0)
-------------------------------------
-------------------------------------
...
@@ -478,14 +478,14 @@ STRING xstring.get(STRING fallback=0)
...
@@ -478,14 +478,14 @@ STRING xstring.get(STRING fallback=0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is the empty string.
if it is undefined. The default fallback is the empty string.
.. _
func_
string.defined:
.. _
vmod_constant.
string.defined:
BOOL xstring.defined()
BOOL xstring.defined()
----------------------
----------------------
Return whether the constant is defined.
Return whether the constant is defined.
.. _
obj_
time:
.. _
vmod_constant.
time:
new xtime = constant.time([TIME init])
new xtime = constant.time([TIME init])
--------------------------------------
--------------------------------------
...
@@ -494,7 +494,7 @@ Construct a(n) TIME constant with the value `init`,
...
@@ -494,7 +494,7 @@ Construct a(n) TIME constant with the value `init`,
if provided. If no `init` value is provided, the constant
if provided. If no `init` value is provided, the constant
will be undefined.
will be undefined.
.. _
func_
time.get:
.. _
vmod_constant.
time.get:
TIME xtime.get(TIME fallback=0)
TIME xtime.get(TIME fallback=0)
-------------------------------
-------------------------------
...
@@ -502,7 +502,7 @@ TIME xtime.get(TIME fallback=0)
...
@@ -502,7 +502,7 @@ TIME xtime.get(TIME fallback=0)
Return the value of the constant or the `fallback` argument
Return the value of the constant or the `fallback` argument
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
.. _
func_
time.defined:
.. _
vmod_constant.
time.defined:
BOOL xtime.defined()
BOOL xtime.defined()
--------------------
--------------------
...
...
src/vmod_globalvar.rst
View file @
1597ee14
...
@@ -20,155 +20,155 @@ SYNOPSIS
...
@@ -20,155 +20,155 @@ SYNOPSIS
import globalvar [from "path"]
import globalvar [from "path"]
:ref:`
obj_
acl`
:ref:`
vmod_globalvar.
acl`
:ref:`func_
acl.get`
:ref:`vmod_globalvar.
acl.get`
:ref:`func_
acl.set`
:ref:`vmod_globalvar.
acl.set`
:ref:`func_
acl.undefine`
:ref:`vmod_globalvar.
acl.undefine`
:ref:`func_
acl.defined`
:ref:`vmod_globalvar.
acl.defined`
:ref:`
obj_
backend`
:ref:`
vmod_globalvar.
backend`
:ref:`func_
backend.get`
:ref:`vmod_globalvar.
backend.get`
:ref:`func_
backend.set`
:ref:`vmod_globalvar.
backend.set`
:ref:`func_
backend.undefine`
:ref:`vmod_globalvar.
backend.undefine`
:ref:`func_
backend.defined`
:ref:`vmod_globalvar.
backend.defined`
:ref:`
obj_
blob`
:ref:`
vmod_globalvar.
blob`
:ref:`func_
blob.get`
:ref:`vmod_globalvar.
blob.get`
:ref:`func_
blob.set`
:ref:`vmod_globalvar.
blob.set`
:ref:`func_
blob.undefine`
:ref:`vmod_globalvar.
blob.undefine`
:ref:`func_
blob.defined`
:ref:`vmod_globalvar.
blob.defined`
:ref:`
obj_
body`
:ref:`
vmod_globalvar.
body`
:ref:`func_
body.get`
:ref:`vmod_globalvar.
body.get`
:ref:`func_
body.set`
:ref:`vmod_globalvar.
body.set`
:ref:`func_
body.undefine`
:ref:`vmod_globalvar.
body.undefine`
:ref:`func_
body.defined`
:ref:`vmod_globalvar.
body.defined`
:ref:`
obj_
bool`
:ref:`
vmod_globalvar.
bool`
:ref:`func_
bool.get`
:ref:`vmod_globalvar.
bool.get`
:ref:`func_
bool.set`
:ref:`vmod_globalvar.
bool.set`
:ref:`func_
bool.undefine`
:ref:`vmod_globalvar.
bool.undefine`
:ref:`func_
bool.defined`
:ref:`vmod_globalvar.
bool.defined`
:ref:`
obj_
bytes`
:ref:`
vmod_globalvar.
bytes`
:ref:`func_
bytes.get`
:ref:`vmod_globalvar.
bytes.get`
:ref:`func_
bytes.set`
:ref:`vmod_globalvar.
bytes.set`
:ref:`func_
bytes.undefine`
:ref:`vmod_globalvar.
bytes.undefine`
:ref:`func_
bytes.defined`
:ref:`vmod_globalvar.
bytes.defined`
:ref:`
obj_
duration`
:ref:`
vmod_globalvar.
duration`
:ref:`func_
duration.get`
:ref:`vmod_globalvar.
duration.get`
:ref:`func_
duration.set`
:ref:`vmod_globalvar.
duration.set`
:ref:`func_
duration.undefine`
:ref:`vmod_globalvar.
duration.undefine`
:ref:`func_
duration.defined`
:ref:`vmod_globalvar.
duration.defined`
:ref:`
obj_
header`
:ref:`
vmod_globalvar.
header`
:ref:`func_
header.get`
:ref:`vmod_globalvar.
header.get`
:ref:`func_
header.set`
:ref:`vmod_globalvar.
header.set`
:ref:`func_
header.undefine`
:ref:`vmod_globalvar.
header.undefine`
:ref:`func_
header.defined`
:ref:`vmod_globalvar.
header.defined`
:ref:`
obj_
int`
:ref:`
vmod_globalvar.
int`
:ref:`func_
int.get`
:ref:`vmod_globalvar.
int.get`
:ref:`func_
int.set`
:ref:`vmod_globalvar.
int.set`
:ref:`func_
int.undefine`
:ref:`vmod_globalvar.
int.undefine`
:ref:`func_
int.defined`
:ref:`vmod_globalvar.
int.defined`
:ref:`
obj_
ip`
:ref:`
vmod_globalvar.
ip`
:ref:`func_
ip.get`
:ref:`vmod_globalvar.
ip.get`
:ref:`func_
ip.set`
:ref:`vmod_globalvar.
ip.set`
:ref:`func_
ip.undefine`
:ref:`vmod_globalvar.
ip.undefine`
:ref:`func_
ip.defined`
:ref:`vmod_globalvar.
ip.defined`
:ref:`
obj_
probe`
:ref:`
vmod_globalvar.
probe`
:ref:`func_
probe.get`
:ref:`vmod_globalvar.
probe.get`
:ref:`func_
probe.set`
:ref:`vmod_globalvar.
probe.set`
:ref:`func_
probe.undefine`
:ref:`vmod_globalvar.
probe.undefine`
:ref:`func_
probe.defined`
:ref:`vmod_globalvar.
probe.defined`
:ref:`
obj_
real`
:ref:`
vmod_globalvar.
real`
:ref:`func_
real.get`
:ref:`vmod_globalvar.
real.get`
:ref:`func_
real.set`
:ref:`vmod_globalvar.
real.set`
:ref:`func_
real.undefine`
:ref:`vmod_globalvar.
real.undefine`
:ref:`func_
real.defined`
:ref:`vmod_globalvar.
real.defined`
:ref:`
obj_
stevedore`
:ref:`
vmod_globalvar.
stevedore`
:ref:`func_
stevedore.get`
:ref:`vmod_globalvar.
stevedore.get`
:ref:`func_
stevedore.set`
:ref:`vmod_globalvar.
stevedore.set`
:ref:`func_
stevedore.undefine`
:ref:`vmod_globalvar.
stevedore.undefine`
:ref:`func_
stevedore.defined`
:ref:`vmod_globalvar.
stevedore.defined`
:ref:`
obj_
string`
:ref:`
vmod_globalvar.
string`
:ref:`func_
string.get`
:ref:`vmod_globalvar.
string.get`
:ref:`func_
string.set`
:ref:`vmod_globalvar.
string.set`
:ref:`func_
string.undefine`
:ref:`vmod_globalvar.
string.undefine`
:ref:`func_
string.defined`
:ref:`vmod_globalvar.
string.defined`
:ref:`
obj_
time`
:ref:`
vmod_globalvar.
time`
:ref:`func_
time.get`
:ref:`vmod_globalvar.
time.get`
:ref:`func_
time.set`
:ref:`vmod_globalvar.
time.set`
:ref:`func_
time.undefine`
:ref:`vmod_globalvar.
time.undefine`
:ref:`func_
time.defined`
:ref:`vmod_globalvar.
time.defined`
DESCRIPTION
DESCRIPTION
...
@@ -217,7 +217,7 @@ for the respective type names and the ``.get()`` fallback.
...
@@ -217,7 +217,7 @@ for the respective type names and the ``.get()`` fallback.
.. just a newline
.. just a newline
.. _
obj_
acl:
.. _
vmod_globalvar.
acl:
new xacl = globalvar.acl([ACL init])
new xacl = globalvar.acl([ACL init])
------------------------------------
------------------------------------
...
@@ -226,7 +226,7 @@ Construct a(n) ACL globalvar with the default value `init`,
...
@@ -226,7 +226,7 @@ Construct a(n) ACL globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
acl.get:
.. _
vmod_globalvar.
acl.get:
ACL xacl.get(ACL fallback)
ACL xacl.get(ACL fallback)
--------------------------
--------------------------
...
@@ -234,28 +234,28 @@ ACL xacl.get(ACL fallback)
...
@@ -234,28 +234,28 @@ ACL xacl.get(ACL fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
acl.set:
.. _
vmod_globalvar.
acl.set:
VOID xacl.set(ACL)
VOID xacl.set(ACL)
------------------
------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
acl.undefine:
.. _
vmod_globalvar.
acl.undefine:
VOID xacl.undefine()
VOID xacl.undefine()
--------------------
--------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
acl.defined:
.. _
vmod_globalvar.
acl.defined:
BOOL xacl.defined()
BOOL xacl.defined()
-------------------
-------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
backend:
.. _
vmod_globalvar.
backend:
new xbackend = globalvar.backend([BACKEND init])
new xbackend = globalvar.backend([BACKEND init])
------------------------------------------------
------------------------------------------------
...
@@ -264,7 +264,7 @@ Construct a(n) BACKEND globalvar with the default value `init`,
...
@@ -264,7 +264,7 @@ Construct a(n) BACKEND globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
backend.get:
.. _
vmod_globalvar.
backend.get:
BACKEND xbackend.get(BACKEND fallback=0)
BACKEND xbackend.get(BACKEND fallback=0)
----------------------------------------
----------------------------------------
...
@@ -272,28 +272,28 @@ BACKEND xbackend.get(BACKEND fallback=0)
...
@@ -272,28 +272,28 @@ BACKEND xbackend.get(BACKEND fallback=0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is no backend.
if it is undefined. The default fallback is no backend.
.. _
func_
backend.set:
.. _
vmod_globalvar.
backend.set:
VOID xbackend.set(BACKEND)
VOID xbackend.set(BACKEND)
--------------------------
--------------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
backend.undefine:
.. _
vmod_globalvar.
backend.undefine:
VOID xbackend.undefine()
VOID xbackend.undefine()
------------------------
------------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
backend.defined:
.. _
vmod_globalvar.
backend.defined:
BOOL xbackend.defined()
BOOL xbackend.defined()
-----------------------
-----------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
blob:
.. _
vmod_globalvar.
blob:
new xblob = globalvar.blob([BLOB init])
new xblob = globalvar.blob([BLOB init])
---------------------------------------
---------------------------------------
...
@@ -302,7 +302,7 @@ Construct a(n) BLOB globalvar with the default value `init`,
...
@@ -302,7 +302,7 @@ Construct a(n) BLOB globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
blob.get:
.. _
vmod_globalvar.
blob.get:
BLOB xblob.get(BLOB fallback)
BLOB xblob.get(BLOB fallback)
-----------------------------
-----------------------------
...
@@ -310,28 +310,28 @@ BLOB xblob.get(BLOB fallback)
...
@@ -310,28 +310,28 @@ BLOB xblob.get(BLOB fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
blob.set:
.. _
vmod_globalvar.
blob.set:
VOID xblob.set(BLOB)
VOID xblob.set(BLOB)
--------------------
--------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
blob.undefine:
.. _
vmod_globalvar.
blob.undefine:
VOID xblob.undefine()
VOID xblob.undefine()
---------------------
---------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
blob.defined:
.. _
vmod_globalvar.
blob.defined:
BOOL xblob.defined()
BOOL xblob.defined()
--------------------
--------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
body:
.. _
vmod_globalvar.
body:
new xbody = globalvar.body([BODY init])
new xbody = globalvar.body([BODY init])
---------------------------------------
---------------------------------------
...
@@ -340,7 +340,7 @@ Construct a(n) BODY globalvar with the default value `init`,
...
@@ -340,7 +340,7 @@ Construct a(n) BODY globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
body.get:
.. _
vmod_globalvar.
body.get:
BODY xbody.get(BODY fallback)
BODY xbody.get(BODY fallback)
-----------------------------
-----------------------------
...
@@ -348,28 +348,28 @@ BODY xbody.get(BODY fallback)
...
@@ -348,28 +348,28 @@ BODY xbody.get(BODY fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
body.set:
.. _
vmod_globalvar.
body.set:
VOID xbody.set(BODY)
VOID xbody.set(BODY)
--------------------
--------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
body.undefine:
.. _
vmod_globalvar.
body.undefine:
VOID xbody.undefine()
VOID xbody.undefine()
---------------------
---------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
body.defined:
.. _
vmod_globalvar.
body.defined:
BOOL xbody.defined()
BOOL xbody.defined()
--------------------
--------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
bool:
.. _
vmod_globalvar.
bool:
new xbool = globalvar.bool([BOOL init])
new xbool = globalvar.bool([BOOL init])
---------------------------------------
---------------------------------------
...
@@ -378,7 +378,7 @@ Construct a(n) BOOL globalvar with the default value `init`,
...
@@ -378,7 +378,7 @@ Construct a(n) BOOL globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bool.get:
.. _
vmod_globalvar.
bool.get:
BOOL xbool.get(BOOL fallback)
BOOL xbool.get(BOOL fallback)
-----------------------------
-----------------------------
...
@@ -386,28 +386,28 @@ BOOL xbool.get(BOOL fallback)
...
@@ -386,28 +386,28 @@ BOOL xbool.get(BOOL fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bool.set:
.. _
vmod_globalvar.
bool.set:
VOID xbool.set(BOOL)
VOID xbool.set(BOOL)
--------------------
--------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
bool.undefine:
.. _
vmod_globalvar.
bool.undefine:
VOID xbool.undefine()
VOID xbool.undefine()
---------------------
---------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
bool.defined:
.. _
vmod_globalvar.
bool.defined:
BOOL xbool.defined()
BOOL xbool.defined()
--------------------
--------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
bytes:
.. _
vmod_globalvar.
bytes:
new xbytes = globalvar.bytes([BYTES init])
new xbytes = globalvar.bytes([BYTES init])
------------------------------------------
------------------------------------------
...
@@ -416,7 +416,7 @@ Construct a(n) BYTES globalvar with the default value `init`,
...
@@ -416,7 +416,7 @@ Construct a(n) BYTES globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bytes.get:
.. _
vmod_globalvar.
bytes.get:
BYTES xbytes.get(BYTES fallback)
BYTES xbytes.get(BYTES fallback)
--------------------------------
--------------------------------
...
@@ -424,28 +424,28 @@ BYTES xbytes.get(BYTES fallback)
...
@@ -424,28 +424,28 @@ BYTES xbytes.get(BYTES fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bytes.set:
.. _
vmod_globalvar.
bytes.set:
VOID xbytes.set(BYTES)
VOID xbytes.set(BYTES)
----------------------
----------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
bytes.undefine:
.. _
vmod_globalvar.
bytes.undefine:
VOID xbytes.undefine()
VOID xbytes.undefine()
----------------------
----------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
bytes.defined:
.. _
vmod_globalvar.
bytes.defined:
BOOL xbytes.defined()
BOOL xbytes.defined()
---------------------
---------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
duration:
.. _
vmod_globalvar.
duration:
new xduration = globalvar.duration([DURATION init])
new xduration = globalvar.duration([DURATION init])
---------------------------------------------------
---------------------------------------------------
...
@@ -454,7 +454,7 @@ Construct a(n) DURATION globalvar with the default value `init`,
...
@@ -454,7 +454,7 @@ Construct a(n) DURATION globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
duration.get:
.. _
vmod_globalvar.
duration.get:
DURATION xduration.get(DURATION fallback=0)
DURATION xduration.get(DURATION fallback=0)
-------------------------------------------
-------------------------------------------
...
@@ -462,28 +462,28 @@ DURATION xduration.get(DURATION fallback=0)
...
@@ -462,28 +462,28 @@ DURATION xduration.get(DURATION fallback=0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is 0s.
if it is undefined. The default fallback is 0s.
.. _
func_
duration.set:
.. _
vmod_globalvar.
duration.set:
VOID xduration.set(DURATION)
VOID xduration.set(DURATION)
----------------------------
----------------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
duration.undefine:
.. _
vmod_globalvar.
duration.undefine:
VOID xduration.undefine()
VOID xduration.undefine()
-------------------------
-------------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
duration.defined:
.. _
vmod_globalvar.
duration.defined:
BOOL xduration.defined()
BOOL xduration.defined()
------------------------
------------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
header:
.. _
vmod_globalvar.
header:
new xheader = globalvar.header([HEADER init])
new xheader = globalvar.header([HEADER init])
---------------------------------------------
---------------------------------------------
...
@@ -492,7 +492,7 @@ Construct a(n) HEADER globalvar with the default value `init`,
...
@@ -492,7 +492,7 @@ Construct a(n) HEADER globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
header.get:
.. _
vmod_globalvar.
header.get:
HEADER xheader.get(HEADER fallback)
HEADER xheader.get(HEADER fallback)
-----------------------------------
-----------------------------------
...
@@ -500,28 +500,28 @@ HEADER xheader.get(HEADER fallback)
...
@@ -500,28 +500,28 @@ HEADER xheader.get(HEADER fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
header.set:
.. _
vmod_globalvar.
header.set:
VOID xheader.set(HEADER)
VOID xheader.set(HEADER)
------------------------
------------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
header.undefine:
.. _
vmod_globalvar.
header.undefine:
VOID xheader.undefine()
VOID xheader.undefine()
-----------------------
-----------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
header.defined:
.. _
vmod_globalvar.
header.defined:
BOOL xheader.defined()
BOOL xheader.defined()
----------------------
----------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
int:
.. _
vmod_globalvar.
int:
new xint = globalvar.int([INT init])
new xint = globalvar.int([INT init])
------------------------------------
------------------------------------
...
@@ -530,7 +530,7 @@ Construct a(n) INT globalvar with the default value `init`,
...
@@ -530,7 +530,7 @@ Construct a(n) INT globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
int.get:
.. _
vmod_globalvar.
int.get:
INT xint.get(INT fallback=0)
INT xint.get(INT fallback=0)
----------------------------
----------------------------
...
@@ -538,28 +538,28 @@ INT xint.get(INT fallback=0)
...
@@ -538,28 +538,28 @@ INT xint.get(INT fallback=0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is 0.
if it is undefined. The default fallback is 0.
.. _
func_
int.set:
.. _
vmod_globalvar.
int.set:
VOID xint.set(INT)
VOID xint.set(INT)
------------------
------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
int.undefine:
.. _
vmod_globalvar.
int.undefine:
VOID xint.undefine()
VOID xint.undefine()
--------------------
--------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
int.defined:
.. _
vmod_globalvar.
int.defined:
BOOL xint.defined()
BOOL xint.defined()
-------------------
-------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
ip:
.. _
vmod_globalvar.
ip:
new xip = globalvar.ip([IP init])
new xip = globalvar.ip([IP init])
---------------------------------
---------------------------------
...
@@ -568,7 +568,7 @@ Construct a(n) IP globalvar with the default value `init`,
...
@@ -568,7 +568,7 @@ Construct a(n) IP globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
ip.get:
.. _
vmod_globalvar.
ip.get:
IP xip.get(IP fallback)
IP xip.get(IP fallback)
-----------------------
-----------------------
...
@@ -576,28 +576,28 @@ IP xip.get(IP fallback)
...
@@ -576,28 +576,28 @@ IP xip.get(IP fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
ip.set:
.. _
vmod_globalvar.
ip.set:
VOID xip.set(IP)
VOID xip.set(IP)
----------------
----------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
ip.undefine:
.. _
vmod_globalvar.
ip.undefine:
VOID xip.undefine()
VOID xip.undefine()
-------------------
-------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
ip.defined:
.. _
vmod_globalvar.
ip.defined:
BOOL xip.defined()
BOOL xip.defined()
------------------
------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
probe:
.. _
vmod_globalvar.
probe:
new xprobe = globalvar.probe([PROBE init])
new xprobe = globalvar.probe([PROBE init])
------------------------------------------
------------------------------------------
...
@@ -606,7 +606,7 @@ Construct a(n) PROBE globalvar with the default value `init`,
...
@@ -606,7 +606,7 @@ Construct a(n) PROBE globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
probe.get:
.. _
vmod_globalvar.
probe.get:
PROBE xprobe.get(PROBE fallback)
PROBE xprobe.get(PROBE fallback)
--------------------------------
--------------------------------
...
@@ -614,28 +614,28 @@ PROBE xprobe.get(PROBE fallback)
...
@@ -614,28 +614,28 @@ PROBE xprobe.get(PROBE fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
probe.set:
.. _
vmod_globalvar.
probe.set:
VOID xprobe.set(PROBE)
VOID xprobe.set(PROBE)
----------------------
----------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
probe.undefine:
.. _
vmod_globalvar.
probe.undefine:
VOID xprobe.undefine()
VOID xprobe.undefine()
----------------------
----------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
probe.defined:
.. _
vmod_globalvar.
probe.defined:
BOOL xprobe.defined()
BOOL xprobe.defined()
---------------------
---------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
real:
.. _
vmod_globalvar.
real:
new xreal = globalvar.real([REAL init])
new xreal = globalvar.real([REAL init])
---------------------------------------
---------------------------------------
...
@@ -644,7 +644,7 @@ Construct a(n) REAL globalvar with the default value `init`,
...
@@ -644,7 +644,7 @@ Construct a(n) REAL globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
real.get:
.. _
vmod_globalvar.
real.get:
REAL xreal.get(REAL fallback=0.0)
REAL xreal.get(REAL fallback=0.0)
---------------------------------
---------------------------------
...
@@ -652,28 +652,28 @@ REAL xreal.get(REAL fallback=0.0)
...
@@ -652,28 +652,28 @@ REAL xreal.get(REAL fallback=0.0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is 0.0.
if it is undefined. The default fallback is 0.0.
.. _
func_
real.set:
.. _
vmod_globalvar.
real.set:
VOID xreal.set(REAL)
VOID xreal.set(REAL)
--------------------
--------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
real.undefine:
.. _
vmod_globalvar.
real.undefine:
VOID xreal.undefine()
VOID xreal.undefine()
---------------------
---------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
real.defined:
.. _
vmod_globalvar.
real.defined:
BOOL xreal.defined()
BOOL xreal.defined()
--------------------
--------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
stevedore:
.. _
vmod_globalvar.
stevedore:
new xstevedore = globalvar.stevedore([STEVEDORE init])
new xstevedore = globalvar.stevedore([STEVEDORE init])
------------------------------------------------------
------------------------------------------------------
...
@@ -682,7 +682,7 @@ Construct a(n) STEVEDORE globalvar with the default value `init`,
...
@@ -682,7 +682,7 @@ Construct a(n) STEVEDORE globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
stevedore.get:
.. _
vmod_globalvar.
stevedore.get:
STEVEDORE xstevedore.get(STEVEDORE fallback)
STEVEDORE xstevedore.get(STEVEDORE fallback)
--------------------------------------------
--------------------------------------------
...
@@ -690,28 +690,28 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
...
@@ -690,28 +690,28 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
stevedore.set:
.. _
vmod_globalvar.
stevedore.set:
VOID xstevedore.set(STEVEDORE)
VOID xstevedore.set(STEVEDORE)
------------------------------
------------------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
stevedore.undefine:
.. _
vmod_globalvar.
stevedore.undefine:
VOID xstevedore.undefine()
VOID xstevedore.undefine()
--------------------------
--------------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
stevedore.defined:
.. _
vmod_globalvar.
stevedore.defined:
BOOL xstevedore.defined()
BOOL xstevedore.defined()
-------------------------
-------------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
string:
.. _
vmod_globalvar.
string:
new xstring = globalvar.string([STRING init])
new xstring = globalvar.string([STRING init])
---------------------------------------------
---------------------------------------------
...
@@ -720,7 +720,7 @@ Construct a(n) STRING globalvar with the default value `init`,
...
@@ -720,7 +720,7 @@ Construct a(n) STRING globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
string.get:
.. _
vmod_globalvar.
string.get:
STRING xstring.get(STRING fallback=0)
STRING xstring.get(STRING fallback=0)
-------------------------------------
-------------------------------------
...
@@ -728,28 +728,28 @@ STRING xstring.get(STRING fallback=0)
...
@@ -728,28 +728,28 @@ STRING xstring.get(STRING fallback=0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is the empty string.
if it is undefined. The default fallback is the empty string.
.. _
func_
string.set:
.. _
vmod_globalvar.
string.set:
VOID xstring.set(STRING)
VOID xstring.set(STRING)
------------------------
------------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
string.undefine:
.. _
vmod_globalvar.
string.undefine:
VOID xstring.undefine()
VOID xstring.undefine()
-----------------------
-----------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
string.defined:
.. _
vmod_globalvar.
string.defined:
BOOL xstring.defined()
BOOL xstring.defined()
----------------------
----------------------
Return whether the globalvar is defined.
Return whether the globalvar is defined.
.. _
obj_
time:
.. _
vmod_globalvar.
time:
new xtime = globalvar.time([TIME init])
new xtime = globalvar.time([TIME init])
---------------------------------------
---------------------------------------
...
@@ -758,7 +758,7 @@ Construct a(n) TIME globalvar with the default value `init`,
...
@@ -758,7 +758,7 @@ Construct a(n) TIME globalvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
time.get:
.. _
vmod_globalvar.
time.get:
TIME xtime.get(TIME fallback=0)
TIME xtime.get(TIME fallback=0)
-------------------------------
-------------------------------
...
@@ -766,21 +766,21 @@ TIME xtime.get(TIME fallback=0)
...
@@ -766,21 +766,21 @@ TIME xtime.get(TIME fallback=0)
Return the value of the globalvar or the `fallback` argument
Return the value of the globalvar or the `fallback` argument
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
.. _
func_
time.set:
.. _
vmod_globalvar.
time.set:
VOID xtime.set(TIME)
VOID xtime.set(TIME)
--------------------
--------------------
Set the value of the globalvar.
Set the value of the globalvar.
.. _
func_
time.undefine:
.. _
vmod_globalvar.
time.undefine:
VOID xtime.undefine()
VOID xtime.undefine()
---------------------
---------------------
Undefine the globalvar.
Undefine the globalvar.
.. _
func_
time.defined:
.. _
vmod_globalvar.
time.defined:
BOOL xtime.defined()
BOOL xtime.defined()
--------------------
--------------------
...
...
src/vmod_taskvar.rst
View file @
1597ee14
...
@@ -20,215 +20,215 @@ SYNOPSIS
...
@@ -20,215 +20,215 @@ SYNOPSIS
import taskvar [from "path"]
import taskvar [from "path"]
:ref:`
obj_
acl`
:ref:`
vmod_taskvar.
acl`
:ref:`func_
acl.get`
:ref:`vmod_taskvar.
acl.get`
:ref:`func_
acl.set`
:ref:`vmod_taskvar.
acl.set`
:ref:`func_
acl.undefine`
:ref:`vmod_taskvar.
acl.undefine`
:ref:`func_
acl.defined`
:ref:`vmod_taskvar.
acl.defined`
:ref:`func_
acl.protect`
:ref:`vmod_taskvar.
acl.protect`
:ref:`func_
acl.protected`
:ref:`vmod_taskvar.
acl.protected`
:ref:`
obj_
backend`
:ref:`
vmod_taskvar.
backend`
:ref:`func_
backend.get`
:ref:`vmod_taskvar.
backend.get`
:ref:`func_
backend.set`
:ref:`vmod_taskvar.
backend.set`
:ref:`func_
backend.undefine`
:ref:`vmod_taskvar.
backend.undefine`
:ref:`func_
backend.defined`
:ref:`vmod_taskvar.
backend.defined`
:ref:`func_
backend.protect`
:ref:`vmod_taskvar.
backend.protect`
:ref:`func_
backend.protected`
:ref:`vmod_taskvar.
backend.protected`
:ref:`
obj_
blob`
:ref:`
vmod_taskvar.
blob`
:ref:`func_
blob.get`
:ref:`vmod_taskvar.
blob.get`
:ref:`func_
blob.set`
:ref:`vmod_taskvar.
blob.set`
:ref:`func_
blob.undefine`
:ref:`vmod_taskvar.
blob.undefine`
:ref:`func_
blob.defined`
:ref:`vmod_taskvar.
blob.defined`
:ref:`func_
blob.protect`
:ref:`vmod_taskvar.
blob.protect`
:ref:`func_
blob.protected`
:ref:`vmod_taskvar.
blob.protected`
:ref:`
obj_
body`
:ref:`
vmod_taskvar.
body`
:ref:`func_
body.get`
:ref:`vmod_taskvar.
body.get`
:ref:`func_
body.set`
:ref:`vmod_taskvar.
body.set`
:ref:`func_
body.undefine`
:ref:`vmod_taskvar.
body.undefine`
:ref:`func_
body.defined`
:ref:`vmod_taskvar.
body.defined`
:ref:`func_
body.protect`
:ref:`vmod_taskvar.
body.protect`
:ref:`func_
body.protected`
:ref:`vmod_taskvar.
body.protected`
:ref:`
obj_
bool`
:ref:`
vmod_taskvar.
bool`
:ref:`func_
bool.get`
:ref:`vmod_taskvar.
bool.get`
:ref:`func_
bool.set`
:ref:`vmod_taskvar.
bool.set`
:ref:`func_
bool.undefine`
:ref:`vmod_taskvar.
bool.undefine`
:ref:`func_
bool.defined`
:ref:`vmod_taskvar.
bool.defined`
:ref:`func_
bool.protect`
:ref:`vmod_taskvar.
bool.protect`
:ref:`func_
bool.protected`
:ref:`vmod_taskvar.
bool.protected`
:ref:`
obj_
bytes`
:ref:`
vmod_taskvar.
bytes`
:ref:`func_
bytes.get`
:ref:`vmod_taskvar.
bytes.get`
:ref:`func_
bytes.set`
:ref:`vmod_taskvar.
bytes.set`
:ref:`func_
bytes.undefine`
:ref:`vmod_taskvar.
bytes.undefine`
:ref:`func_
bytes.defined`
:ref:`vmod_taskvar.
bytes.defined`
:ref:`func_
bytes.protect`
:ref:`vmod_taskvar.
bytes.protect`
:ref:`func_
bytes.protected`
:ref:`vmod_taskvar.
bytes.protected`
:ref:`
obj_
duration`
:ref:`
vmod_taskvar.
duration`
:ref:`func_
duration.get`
:ref:`vmod_taskvar.
duration.get`
:ref:`func_
duration.set`
:ref:`vmod_taskvar.
duration.set`
:ref:`func_
duration.undefine`
:ref:`vmod_taskvar.
duration.undefine`
:ref:`func_
duration.defined`
:ref:`vmod_taskvar.
duration.defined`
:ref:`func_
duration.protect`
:ref:`vmod_taskvar.
duration.protect`
:ref:`func_
duration.protected`
:ref:`vmod_taskvar.
duration.protected`
:ref:`
obj_
header`
:ref:`
vmod_taskvar.
header`
:ref:`func_
header.get`
:ref:`vmod_taskvar.
header.get`
:ref:`func_
header.set`
:ref:`vmod_taskvar.
header.set`
:ref:`func_
header.undefine`
:ref:`vmod_taskvar.
header.undefine`
:ref:`func_
header.defined`
:ref:`vmod_taskvar.
header.defined`
:ref:`func_
header.protect`
:ref:`vmod_taskvar.
header.protect`
:ref:`func_
header.protected`
:ref:`vmod_taskvar.
header.protected`
:ref:`
obj_
int`
:ref:`
vmod_taskvar.
int`
:ref:`func_
int.get`
:ref:`vmod_taskvar.
int.get`
:ref:`func_
int.set`
:ref:`vmod_taskvar.
int.set`
:ref:`func_
int.undefine`
:ref:`vmod_taskvar.
int.undefine`
:ref:`func_
int.defined`
:ref:`vmod_taskvar.
int.defined`
:ref:`func_
int.protect`
:ref:`vmod_taskvar.
int.protect`
:ref:`func_
int.protected`
:ref:`vmod_taskvar.
int.protected`
:ref:`
obj_
ip`
:ref:`
vmod_taskvar.
ip`
:ref:`func_
ip.get`
:ref:`vmod_taskvar.
ip.get`
:ref:`func_
ip.set`
:ref:`vmod_taskvar.
ip.set`
:ref:`func_
ip.undefine`
:ref:`vmod_taskvar.
ip.undefine`
:ref:`func_
ip.defined`
:ref:`vmod_taskvar.
ip.defined`
:ref:`func_
ip.protect`
:ref:`vmod_taskvar.
ip.protect`
:ref:`func_
ip.protected`
:ref:`vmod_taskvar.
ip.protected`
:ref:`
obj_
probe`
:ref:`
vmod_taskvar.
probe`
:ref:`func_
probe.get`
:ref:`vmod_taskvar.
probe.get`
:ref:`func_
probe.set`
:ref:`vmod_taskvar.
probe.set`
:ref:`func_
probe.undefine`
:ref:`vmod_taskvar.
probe.undefine`
:ref:`func_
probe.defined`
:ref:`vmod_taskvar.
probe.defined`
:ref:`func_
probe.protect`
:ref:`vmod_taskvar.
probe.protect`
:ref:`func_
probe.protected`
:ref:`vmod_taskvar.
probe.protected`
:ref:`
obj_
real`
:ref:`
vmod_taskvar.
real`
:ref:`func_
real.get`
:ref:`vmod_taskvar.
real.get`
:ref:`func_
real.set`
:ref:`vmod_taskvar.
real.set`
:ref:`func_
real.undefine`
:ref:`vmod_taskvar.
real.undefine`
:ref:`func_
real.defined`
:ref:`vmod_taskvar.
real.defined`
:ref:`func_
real.protect`
:ref:`vmod_taskvar.
real.protect`
:ref:`func_
real.protected`
:ref:`vmod_taskvar.
real.protected`
:ref:`
obj_
stevedore`
:ref:`
vmod_taskvar.
stevedore`
:ref:`func_
stevedore.get`
:ref:`vmod_taskvar.
stevedore.get`
:ref:`func_
stevedore.set`
:ref:`vmod_taskvar.
stevedore.set`
:ref:`func_
stevedore.undefine`
:ref:`vmod_taskvar.
stevedore.undefine`
:ref:`func_
stevedore.defined`
:ref:`vmod_taskvar.
stevedore.defined`
:ref:`func_
stevedore.protect`
:ref:`vmod_taskvar.
stevedore.protect`
:ref:`func_
stevedore.protected`
:ref:`vmod_taskvar.
stevedore.protected`
:ref:`
obj_
string`
:ref:`
vmod_taskvar.
string`
:ref:`func_
string.get`
:ref:`vmod_taskvar.
string.get`
:ref:`func_
string.set`
:ref:`vmod_taskvar.
string.set`
:ref:`func_
string.undefine`
:ref:`vmod_taskvar.
string.undefine`
:ref:`func_
string.defined`
:ref:`vmod_taskvar.
string.defined`
:ref:`func_
string.protect`
:ref:`vmod_taskvar.
string.protect`
:ref:`func_
string.protected`
:ref:`vmod_taskvar.
string.protected`
:ref:`
obj_
time`
:ref:`
vmod_taskvar.
time`
:ref:`func_
time.get`
:ref:`vmod_taskvar.
time.get`
:ref:`func_
time.set`
:ref:`vmod_taskvar.
time.set`
:ref:`func_
time.undefine`
:ref:`vmod_taskvar.
time.undefine`
:ref:`func_
time.defined`
:ref:`vmod_taskvar.
time.defined`
:ref:`func_
time.protect`
:ref:`vmod_taskvar.
time.protect`
:ref:`func_
time.protected`
:ref:`vmod_taskvar.
time.protected`
DESCRIPTION
DESCRIPTION
...
@@ -294,7 +294,7 @@ for the respective type names and the ``.get()`` fallback.
...
@@ -294,7 +294,7 @@ for the respective type names and the ``.get()`` fallback.
.. just a newline
.. just a newline
.. _
obj_
acl:
.. _
vmod_taskvar.
acl:
new xacl = taskvar.acl([ACL init])
new xacl = taskvar.acl([ACL init])
----------------------------------
----------------------------------
...
@@ -303,7 +303,7 @@ Construct a(n) ACL taskvar with the default value `init`,
...
@@ -303,7 +303,7 @@ Construct a(n) ACL taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
acl.get:
.. _
vmod_taskvar.
acl.get:
ACL xacl.get(ACL fallback)
ACL xacl.get(ACL fallback)
--------------------------
--------------------------
...
@@ -311,7 +311,7 @@ ACL xacl.get(ACL fallback)
...
@@ -311,7 +311,7 @@ ACL xacl.get(ACL fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
acl.set:
.. _
vmod_taskvar.
acl.set:
VOID xacl.set(ACL)
VOID xacl.set(ACL)
------------------
------------------
...
@@ -320,21 +320,21 @@ Set the value of the taskvar.
...
@@ -320,21 +320,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
acl.undefine:
.. _
vmod_taskvar.
acl.undefine:
VOID xacl.undefine()
VOID xacl.undefine()
--------------------
--------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
acl.defined:
.. _
vmod_taskvar.
acl.defined:
BOOL xacl.defined()
BOOL xacl.defined()
-------------------
-------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
acl.protect:
.. _
vmod_taskvar.
acl.protect:
VOID xacl.protect()
VOID xacl.protect()
-------------------
-------------------
...
@@ -342,14 +342,14 @@ VOID xacl.protect()
...
@@ -342,14 +342,14 @@ VOID xacl.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
acl.protected:
.. _
vmod_taskvar.
acl.protected:
BOOL xacl.protected()
BOOL xacl.protected()
---------------------
---------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
backend:
.. _
vmod_taskvar.
backend:
new xbackend = taskvar.backend([BACKEND init])
new xbackend = taskvar.backend([BACKEND init])
----------------------------------------------
----------------------------------------------
...
@@ -358,7 +358,7 @@ Construct a(n) BACKEND taskvar with the default value `init`,
...
@@ -358,7 +358,7 @@ Construct a(n) BACKEND taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
backend.get:
.. _
vmod_taskvar.
backend.get:
BACKEND xbackend.get(BACKEND fallback=0)
BACKEND xbackend.get(BACKEND fallback=0)
----------------------------------------
----------------------------------------
...
@@ -366,7 +366,7 @@ BACKEND xbackend.get(BACKEND fallback=0)
...
@@ -366,7 +366,7 @@ BACKEND xbackend.get(BACKEND fallback=0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is no backend.
if it is undefined. The default fallback is no backend.
.. _
func_
backend.set:
.. _
vmod_taskvar.
backend.set:
VOID xbackend.set(BACKEND)
VOID xbackend.set(BACKEND)
--------------------------
--------------------------
...
@@ -375,21 +375,21 @@ Set the value of the taskvar.
...
@@ -375,21 +375,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
backend.undefine:
.. _
vmod_taskvar.
backend.undefine:
VOID xbackend.undefine()
VOID xbackend.undefine()
------------------------
------------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
backend.defined:
.. _
vmod_taskvar.
backend.defined:
BOOL xbackend.defined()
BOOL xbackend.defined()
-----------------------
-----------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
backend.protect:
.. _
vmod_taskvar.
backend.protect:
VOID xbackend.protect()
VOID xbackend.protect()
-----------------------
-----------------------
...
@@ -397,14 +397,14 @@ VOID xbackend.protect()
...
@@ -397,14 +397,14 @@ VOID xbackend.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
backend.protected:
.. _
vmod_taskvar.
backend.protected:
BOOL xbackend.protected()
BOOL xbackend.protected()
-------------------------
-------------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
blob:
.. _
vmod_taskvar.
blob:
new xblob = taskvar.blob([BLOB init])
new xblob = taskvar.blob([BLOB init])
-------------------------------------
-------------------------------------
...
@@ -413,7 +413,7 @@ Construct a(n) BLOB taskvar with the default value `init`,
...
@@ -413,7 +413,7 @@ Construct a(n) BLOB taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
blob.get:
.. _
vmod_taskvar.
blob.get:
BLOB xblob.get(BLOB fallback)
BLOB xblob.get(BLOB fallback)
-----------------------------
-----------------------------
...
@@ -421,7 +421,7 @@ BLOB xblob.get(BLOB fallback)
...
@@ -421,7 +421,7 @@ BLOB xblob.get(BLOB fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
blob.set:
.. _
vmod_taskvar.
blob.set:
VOID xblob.set(BLOB)
VOID xblob.set(BLOB)
--------------------
--------------------
...
@@ -430,21 +430,21 @@ Set the value of the taskvar.
...
@@ -430,21 +430,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
blob.undefine:
.. _
vmod_taskvar.
blob.undefine:
VOID xblob.undefine()
VOID xblob.undefine()
---------------------
---------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
blob.defined:
.. _
vmod_taskvar.
blob.defined:
BOOL xblob.defined()
BOOL xblob.defined()
--------------------
--------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
blob.protect:
.. _
vmod_taskvar.
blob.protect:
VOID xblob.protect()
VOID xblob.protect()
--------------------
--------------------
...
@@ -452,14 +452,14 @@ VOID xblob.protect()
...
@@ -452,14 +452,14 @@ VOID xblob.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
blob.protected:
.. _
vmod_taskvar.
blob.protected:
BOOL xblob.protected()
BOOL xblob.protected()
----------------------
----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
body:
.. _
vmod_taskvar.
body:
new xbody = taskvar.body([BODY init])
new xbody = taskvar.body([BODY init])
-------------------------------------
-------------------------------------
...
@@ -468,7 +468,7 @@ Construct a(n) BODY taskvar with the default value `init`,
...
@@ -468,7 +468,7 @@ Construct a(n) BODY taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
body.get:
.. _
vmod_taskvar.
body.get:
BODY xbody.get(BODY fallback)
BODY xbody.get(BODY fallback)
-----------------------------
-----------------------------
...
@@ -476,7 +476,7 @@ BODY xbody.get(BODY fallback)
...
@@ -476,7 +476,7 @@ BODY xbody.get(BODY fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
body.set:
.. _
vmod_taskvar.
body.set:
VOID xbody.set(BODY)
VOID xbody.set(BODY)
--------------------
--------------------
...
@@ -485,21 +485,21 @@ Set the value of the taskvar.
...
@@ -485,21 +485,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
body.undefine:
.. _
vmod_taskvar.
body.undefine:
VOID xbody.undefine()
VOID xbody.undefine()
---------------------
---------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
body.defined:
.. _
vmod_taskvar.
body.defined:
BOOL xbody.defined()
BOOL xbody.defined()
--------------------
--------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
body.protect:
.. _
vmod_taskvar.
body.protect:
VOID xbody.protect()
VOID xbody.protect()
--------------------
--------------------
...
@@ -507,14 +507,14 @@ VOID xbody.protect()
...
@@ -507,14 +507,14 @@ VOID xbody.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
body.protected:
.. _
vmod_taskvar.
body.protected:
BOOL xbody.protected()
BOOL xbody.protected()
----------------------
----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
bool:
.. _
vmod_taskvar.
bool:
new xbool = taskvar.bool([BOOL init])
new xbool = taskvar.bool([BOOL init])
-------------------------------------
-------------------------------------
...
@@ -523,7 +523,7 @@ Construct a(n) BOOL taskvar with the default value `init`,
...
@@ -523,7 +523,7 @@ Construct a(n) BOOL taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bool.get:
.. _
vmod_taskvar.
bool.get:
BOOL xbool.get(BOOL fallback)
BOOL xbool.get(BOOL fallback)
-----------------------------
-----------------------------
...
@@ -531,7 +531,7 @@ BOOL xbool.get(BOOL fallback)
...
@@ -531,7 +531,7 @@ BOOL xbool.get(BOOL fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bool.set:
.. _
vmod_taskvar.
bool.set:
VOID xbool.set(BOOL)
VOID xbool.set(BOOL)
--------------------
--------------------
...
@@ -540,21 +540,21 @@ Set the value of the taskvar.
...
@@ -540,21 +540,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
bool.undefine:
.. _
vmod_taskvar.
bool.undefine:
VOID xbool.undefine()
VOID xbool.undefine()
---------------------
---------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
bool.defined:
.. _
vmod_taskvar.
bool.defined:
BOOL xbool.defined()
BOOL xbool.defined()
--------------------
--------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
bool.protect:
.. _
vmod_taskvar.
bool.protect:
VOID xbool.protect()
VOID xbool.protect()
--------------------
--------------------
...
@@ -562,14 +562,14 @@ VOID xbool.protect()
...
@@ -562,14 +562,14 @@ VOID xbool.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
bool.protected:
.. _
vmod_taskvar.
bool.protected:
BOOL xbool.protected()
BOOL xbool.protected()
----------------------
----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
bytes:
.. _
vmod_taskvar.
bytes:
new xbytes = taskvar.bytes([BYTES init])
new xbytes = taskvar.bytes([BYTES init])
----------------------------------------
----------------------------------------
...
@@ -578,7 +578,7 @@ Construct a(n) BYTES taskvar with the default value `init`,
...
@@ -578,7 +578,7 @@ Construct a(n) BYTES taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bytes.get:
.. _
vmod_taskvar.
bytes.get:
BYTES xbytes.get(BYTES fallback)
BYTES xbytes.get(BYTES fallback)
--------------------------------
--------------------------------
...
@@ -586,7 +586,7 @@ BYTES xbytes.get(BYTES fallback)
...
@@ -586,7 +586,7 @@ BYTES xbytes.get(BYTES fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bytes.set:
.. _
vmod_taskvar.
bytes.set:
VOID xbytes.set(BYTES)
VOID xbytes.set(BYTES)
----------------------
----------------------
...
@@ -595,21 +595,21 @@ Set the value of the taskvar.
...
@@ -595,21 +595,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
bytes.undefine:
.. _
vmod_taskvar.
bytes.undefine:
VOID xbytes.undefine()
VOID xbytes.undefine()
----------------------
----------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
bytes.defined:
.. _
vmod_taskvar.
bytes.defined:
BOOL xbytes.defined()
BOOL xbytes.defined()
---------------------
---------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
bytes.protect:
.. _
vmod_taskvar.
bytes.protect:
VOID xbytes.protect()
VOID xbytes.protect()
---------------------
---------------------
...
@@ -617,14 +617,14 @@ VOID xbytes.protect()
...
@@ -617,14 +617,14 @@ VOID xbytes.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
bytes.protected:
.. _
vmod_taskvar.
bytes.protected:
BOOL xbytes.protected()
BOOL xbytes.protected()
-----------------------
-----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
duration:
.. _
vmod_taskvar.
duration:
new xduration = taskvar.duration([DURATION init])
new xduration = taskvar.duration([DURATION init])
-------------------------------------------------
-------------------------------------------------
...
@@ -633,7 +633,7 @@ Construct a(n) DURATION taskvar with the default value `init`,
...
@@ -633,7 +633,7 @@ Construct a(n) DURATION taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
duration.get:
.. _
vmod_taskvar.
duration.get:
DURATION xduration.get(DURATION fallback=0)
DURATION xduration.get(DURATION fallback=0)
-------------------------------------------
-------------------------------------------
...
@@ -641,7 +641,7 @@ DURATION xduration.get(DURATION fallback=0)
...
@@ -641,7 +641,7 @@ DURATION xduration.get(DURATION fallback=0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is 0s.
if it is undefined. The default fallback is 0s.
.. _
func_
duration.set:
.. _
vmod_taskvar.
duration.set:
VOID xduration.set(DURATION)
VOID xduration.set(DURATION)
----------------------------
----------------------------
...
@@ -650,21 +650,21 @@ Set the value of the taskvar.
...
@@ -650,21 +650,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
duration.undefine:
.. _
vmod_taskvar.
duration.undefine:
VOID xduration.undefine()
VOID xduration.undefine()
-------------------------
-------------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
duration.defined:
.. _
vmod_taskvar.
duration.defined:
BOOL xduration.defined()
BOOL xduration.defined()
------------------------
------------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
duration.protect:
.. _
vmod_taskvar.
duration.protect:
VOID xduration.protect()
VOID xduration.protect()
------------------------
------------------------
...
@@ -672,14 +672,14 @@ VOID xduration.protect()
...
@@ -672,14 +672,14 @@ VOID xduration.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
duration.protected:
.. _
vmod_taskvar.
duration.protected:
BOOL xduration.protected()
BOOL xduration.protected()
--------------------------
--------------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
header:
.. _
vmod_taskvar.
header:
new xheader = taskvar.header([HEADER init])
new xheader = taskvar.header([HEADER init])
-------------------------------------------
-------------------------------------------
...
@@ -688,7 +688,7 @@ Construct a(n) HEADER taskvar with the default value `init`,
...
@@ -688,7 +688,7 @@ Construct a(n) HEADER taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
header.get:
.. _
vmod_taskvar.
header.get:
HEADER xheader.get(HEADER fallback)
HEADER xheader.get(HEADER fallback)
-----------------------------------
-----------------------------------
...
@@ -696,7 +696,7 @@ HEADER xheader.get(HEADER fallback)
...
@@ -696,7 +696,7 @@ HEADER xheader.get(HEADER fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
header.set:
.. _
vmod_taskvar.
header.set:
VOID xheader.set(HEADER)
VOID xheader.set(HEADER)
------------------------
------------------------
...
@@ -705,21 +705,21 @@ Set the value of the taskvar.
...
@@ -705,21 +705,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
header.undefine:
.. _
vmod_taskvar.
header.undefine:
VOID xheader.undefine()
VOID xheader.undefine()
-----------------------
-----------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
header.defined:
.. _
vmod_taskvar.
header.defined:
BOOL xheader.defined()
BOOL xheader.defined()
----------------------
----------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
header.protect:
.. _
vmod_taskvar.
header.protect:
VOID xheader.protect()
VOID xheader.protect()
----------------------
----------------------
...
@@ -727,14 +727,14 @@ VOID xheader.protect()
...
@@ -727,14 +727,14 @@ VOID xheader.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
header.protected:
.. _
vmod_taskvar.
header.protected:
BOOL xheader.protected()
BOOL xheader.protected()
------------------------
------------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
int:
.. _
vmod_taskvar.
int:
new xint = taskvar.int([INT init])
new xint = taskvar.int([INT init])
----------------------------------
----------------------------------
...
@@ -743,7 +743,7 @@ Construct a(n) INT taskvar with the default value `init`,
...
@@ -743,7 +743,7 @@ Construct a(n) INT taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
int.get:
.. _
vmod_taskvar.
int.get:
INT xint.get(INT fallback=0)
INT xint.get(INT fallback=0)
----------------------------
----------------------------
...
@@ -751,7 +751,7 @@ INT xint.get(INT fallback=0)
...
@@ -751,7 +751,7 @@ INT xint.get(INT fallback=0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is 0.
if it is undefined. The default fallback is 0.
.. _
func_
int.set:
.. _
vmod_taskvar.
int.set:
VOID xint.set(INT)
VOID xint.set(INT)
------------------
------------------
...
@@ -760,21 +760,21 @@ Set the value of the taskvar.
...
@@ -760,21 +760,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
int.undefine:
.. _
vmod_taskvar.
int.undefine:
VOID xint.undefine()
VOID xint.undefine()
--------------------
--------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
int.defined:
.. _
vmod_taskvar.
int.defined:
BOOL xint.defined()
BOOL xint.defined()
-------------------
-------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
int.protect:
.. _
vmod_taskvar.
int.protect:
VOID xint.protect()
VOID xint.protect()
-------------------
-------------------
...
@@ -782,14 +782,14 @@ VOID xint.protect()
...
@@ -782,14 +782,14 @@ VOID xint.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
int.protected:
.. _
vmod_taskvar.
int.protected:
BOOL xint.protected()
BOOL xint.protected()
---------------------
---------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
ip:
.. _
vmod_taskvar.
ip:
new xip = taskvar.ip([IP init])
new xip = taskvar.ip([IP init])
-------------------------------
-------------------------------
...
@@ -798,7 +798,7 @@ Construct a(n) IP taskvar with the default value `init`,
...
@@ -798,7 +798,7 @@ Construct a(n) IP taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
ip.get:
.. _
vmod_taskvar.
ip.get:
IP xip.get(IP fallback)
IP xip.get(IP fallback)
-----------------------
-----------------------
...
@@ -806,7 +806,7 @@ IP xip.get(IP fallback)
...
@@ -806,7 +806,7 @@ IP xip.get(IP fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
ip.set:
.. _
vmod_taskvar.
ip.set:
VOID xip.set(IP)
VOID xip.set(IP)
----------------
----------------
...
@@ -815,21 +815,21 @@ Set the value of the taskvar.
...
@@ -815,21 +815,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
ip.undefine:
.. _
vmod_taskvar.
ip.undefine:
VOID xip.undefine()
VOID xip.undefine()
-------------------
-------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
ip.defined:
.. _
vmod_taskvar.
ip.defined:
BOOL xip.defined()
BOOL xip.defined()
------------------
------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
ip.protect:
.. _
vmod_taskvar.
ip.protect:
VOID xip.protect()
VOID xip.protect()
------------------
------------------
...
@@ -837,14 +837,14 @@ VOID xip.protect()
...
@@ -837,14 +837,14 @@ VOID xip.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
ip.protected:
.. _
vmod_taskvar.
ip.protected:
BOOL xip.protected()
BOOL xip.protected()
--------------------
--------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
probe:
.. _
vmod_taskvar.
probe:
new xprobe = taskvar.probe([PROBE init])
new xprobe = taskvar.probe([PROBE init])
----------------------------------------
----------------------------------------
...
@@ -853,7 +853,7 @@ Construct a(n) PROBE taskvar with the default value `init`,
...
@@ -853,7 +853,7 @@ Construct a(n) PROBE taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
probe.get:
.. _
vmod_taskvar.
probe.get:
PROBE xprobe.get(PROBE fallback)
PROBE xprobe.get(PROBE fallback)
--------------------------------
--------------------------------
...
@@ -861,7 +861,7 @@ PROBE xprobe.get(PROBE fallback)
...
@@ -861,7 +861,7 @@ PROBE xprobe.get(PROBE fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
probe.set:
.. _
vmod_taskvar.
probe.set:
VOID xprobe.set(PROBE)
VOID xprobe.set(PROBE)
----------------------
----------------------
...
@@ -870,21 +870,21 @@ Set the value of the taskvar.
...
@@ -870,21 +870,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
probe.undefine:
.. _
vmod_taskvar.
probe.undefine:
VOID xprobe.undefine()
VOID xprobe.undefine()
----------------------
----------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
probe.defined:
.. _
vmod_taskvar.
probe.defined:
BOOL xprobe.defined()
BOOL xprobe.defined()
---------------------
---------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
probe.protect:
.. _
vmod_taskvar.
probe.protect:
VOID xprobe.protect()
VOID xprobe.protect()
---------------------
---------------------
...
@@ -892,14 +892,14 @@ VOID xprobe.protect()
...
@@ -892,14 +892,14 @@ VOID xprobe.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
probe.protected:
.. _
vmod_taskvar.
probe.protected:
BOOL xprobe.protected()
BOOL xprobe.protected()
-----------------------
-----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
real:
.. _
vmod_taskvar.
real:
new xreal = taskvar.real([REAL init])
new xreal = taskvar.real([REAL init])
-------------------------------------
-------------------------------------
...
@@ -908,7 +908,7 @@ Construct a(n) REAL taskvar with the default value `init`,
...
@@ -908,7 +908,7 @@ Construct a(n) REAL taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
real.get:
.. _
vmod_taskvar.
real.get:
REAL xreal.get(REAL fallback=0.0)
REAL xreal.get(REAL fallback=0.0)
---------------------------------
---------------------------------
...
@@ -916,7 +916,7 @@ REAL xreal.get(REAL fallback=0.0)
...
@@ -916,7 +916,7 @@ REAL xreal.get(REAL fallback=0.0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is 0.0.
if it is undefined. The default fallback is 0.0.
.. _
func_
real.set:
.. _
vmod_taskvar.
real.set:
VOID xreal.set(REAL)
VOID xreal.set(REAL)
--------------------
--------------------
...
@@ -925,21 +925,21 @@ Set the value of the taskvar.
...
@@ -925,21 +925,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
real.undefine:
.. _
vmod_taskvar.
real.undefine:
VOID xreal.undefine()
VOID xreal.undefine()
---------------------
---------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
real.defined:
.. _
vmod_taskvar.
real.defined:
BOOL xreal.defined()
BOOL xreal.defined()
--------------------
--------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
real.protect:
.. _
vmod_taskvar.
real.protect:
VOID xreal.protect()
VOID xreal.protect()
--------------------
--------------------
...
@@ -947,14 +947,14 @@ VOID xreal.protect()
...
@@ -947,14 +947,14 @@ VOID xreal.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
real.protected:
.. _
vmod_taskvar.
real.protected:
BOOL xreal.protected()
BOOL xreal.protected()
----------------------
----------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
stevedore:
.. _
vmod_taskvar.
stevedore:
new xstevedore = taskvar.stevedore([STEVEDORE init])
new xstevedore = taskvar.stevedore([STEVEDORE init])
----------------------------------------------------
----------------------------------------------------
...
@@ -963,7 +963,7 @@ Construct a(n) STEVEDORE taskvar with the default value `init`,
...
@@ -963,7 +963,7 @@ Construct a(n) STEVEDORE taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
stevedore.get:
.. _
vmod_taskvar.
stevedore.get:
STEVEDORE xstevedore.get(STEVEDORE fallback)
STEVEDORE xstevedore.get(STEVEDORE fallback)
--------------------------------------------
--------------------------------------------
...
@@ -971,7 +971,7 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
...
@@ -971,7 +971,7 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
stevedore.set:
.. _
vmod_taskvar.
stevedore.set:
VOID xstevedore.set(STEVEDORE)
VOID xstevedore.set(STEVEDORE)
------------------------------
------------------------------
...
@@ -980,21 +980,21 @@ Set the value of the taskvar.
...
@@ -980,21 +980,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
stevedore.undefine:
.. _
vmod_taskvar.
stevedore.undefine:
VOID xstevedore.undefine()
VOID xstevedore.undefine()
--------------------------
--------------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
stevedore.defined:
.. _
vmod_taskvar.
stevedore.defined:
BOOL xstevedore.defined()
BOOL xstevedore.defined()
-------------------------
-------------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
stevedore.protect:
.. _
vmod_taskvar.
stevedore.protect:
VOID xstevedore.protect()
VOID xstevedore.protect()
-------------------------
-------------------------
...
@@ -1002,14 +1002,14 @@ VOID xstevedore.protect()
...
@@ -1002,14 +1002,14 @@ VOID xstevedore.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
stevedore.protected:
.. _
vmod_taskvar.
stevedore.protected:
BOOL xstevedore.protected()
BOOL xstevedore.protected()
---------------------------
---------------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
string:
.. _
vmod_taskvar.
string:
new xstring = taskvar.string([STRING init])
new xstring = taskvar.string([STRING init])
-------------------------------------------
-------------------------------------------
...
@@ -1018,7 +1018,7 @@ Construct a(n) STRING taskvar with the default value `init`,
...
@@ -1018,7 +1018,7 @@ Construct a(n) STRING taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
string.get:
.. _
vmod_taskvar.
string.get:
STRING xstring.get(STRING fallback=0)
STRING xstring.get(STRING fallback=0)
-------------------------------------
-------------------------------------
...
@@ -1026,7 +1026,7 @@ STRING xstring.get(STRING fallback=0)
...
@@ -1026,7 +1026,7 @@ STRING xstring.get(STRING fallback=0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is the empty string.
if it is undefined. The default fallback is the empty string.
.. _
func_
string.set:
.. _
vmod_taskvar.
string.set:
VOID xstring.set(STRING)
VOID xstring.set(STRING)
------------------------
------------------------
...
@@ -1035,21 +1035,21 @@ Set the value of the taskvar.
...
@@ -1035,21 +1035,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
string.undefine:
.. _
vmod_taskvar.
string.undefine:
VOID xstring.undefine()
VOID xstring.undefine()
-----------------------
-----------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
string.defined:
.. _
vmod_taskvar.
string.defined:
BOOL xstring.defined()
BOOL xstring.defined()
----------------------
----------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
string.protect:
.. _
vmod_taskvar.
string.protect:
VOID xstring.protect()
VOID xstring.protect()
----------------------
----------------------
...
@@ -1057,14 +1057,14 @@ VOID xstring.protect()
...
@@ -1057,14 +1057,14 @@ VOID xstring.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
string.protected:
.. _
vmod_taskvar.
string.protected:
BOOL xstring.protected()
BOOL xstring.protected()
------------------------
------------------------
Return whether the taskvar is protected.
Return whether the taskvar is protected.
.. _
obj_
time:
.. _
vmod_taskvar.
time:
new xtime = taskvar.time([TIME init])
new xtime = taskvar.time([TIME init])
-------------------------------------
-------------------------------------
...
@@ -1073,7 +1073,7 @@ Construct a(n) TIME taskvar with the default value `init`,
...
@@ -1073,7 +1073,7 @@ Construct a(n) TIME taskvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
time.get:
.. _
vmod_taskvar.
time.get:
TIME xtime.get(TIME fallback=0)
TIME xtime.get(TIME fallback=0)
-------------------------------
-------------------------------
...
@@ -1081,7 +1081,7 @@ TIME xtime.get(TIME fallback=0)
...
@@ -1081,7 +1081,7 @@ TIME xtime.get(TIME fallback=0)
Return the value of the taskvar or the `fallback` argument
Return the value of the taskvar or the `fallback` argument
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
.. _
func_
time.set:
.. _
vmod_taskvar.
time.set:
VOID xtime.set(TIME)
VOID xtime.set(TIME)
--------------------
--------------------
...
@@ -1090,21 +1090,21 @@ Set the value of the taskvar.
...
@@ -1090,21 +1090,21 @@ Set the value of the taskvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
time.undefine:
.. _
vmod_taskvar.
time.undefine:
VOID xtime.undefine()
VOID xtime.undefine()
---------------------
---------------------
Undefine the taskvar.
Undefine the taskvar.
.. _
func_
time.defined:
.. _
vmod_taskvar.
time.defined:
BOOL xtime.defined()
BOOL xtime.defined()
--------------------
--------------------
Return whether the taskvar is defined.
Return whether the taskvar is defined.
.. _
func_
time.protect:
.. _
vmod_taskvar.
time.protect:
VOID xtime.protect()
VOID xtime.protect()
--------------------
--------------------
...
@@ -1112,7 +1112,7 @@ VOID xtime.protect()
...
@@ -1112,7 +1112,7 @@ VOID xtime.protect()
Protect the taskvar, so any future .set() calls on it
Protect the taskvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
time.protected:
.. _
vmod_taskvar.
time.protected:
BOOL xtime.protected()
BOOL xtime.protected()
----------------------
----------------------
...
...
src/vmod_topvar.rst
View file @
1597ee14
...
@@ -20,215 +20,215 @@ SYNOPSIS
...
@@ -20,215 +20,215 @@ SYNOPSIS
import topvar [from "path"]
import topvar [from "path"]
:ref:`
obj_
acl`
:ref:`
vmod_topvar.
acl`
:ref:`func_
acl.get`
:ref:`vmod_topvar.
acl.get`
:ref:`func_
acl.set`
:ref:`vmod_topvar.
acl.set`
:ref:`func_
acl.undefine`
:ref:`vmod_topvar.
acl.undefine`
:ref:`func_
acl.defined`
:ref:`vmod_topvar.
acl.defined`
:ref:`func_
acl.protect`
:ref:`vmod_topvar.
acl.protect`
:ref:`func_
acl.protected`
:ref:`vmod_topvar.
acl.protected`
:ref:`
obj_
backend`
:ref:`
vmod_topvar.
backend`
:ref:`func_
backend.get`
:ref:`vmod_topvar.
backend.get`
:ref:`func_
backend.set`
:ref:`vmod_topvar.
backend.set`
:ref:`func_
backend.undefine`
:ref:`vmod_topvar.
backend.undefine`
:ref:`func_
backend.defined`
:ref:`vmod_topvar.
backend.defined`
:ref:`func_
backend.protect`
:ref:`vmod_topvar.
backend.protect`
:ref:`func_
backend.protected`
:ref:`vmod_topvar.
backend.protected`
:ref:`
obj_
blob`
:ref:`
vmod_topvar.
blob`
:ref:`func_
blob.get`
:ref:`vmod_topvar.
blob.get`
:ref:`func_
blob.set`
:ref:`vmod_topvar.
blob.set`
:ref:`func_
blob.undefine`
:ref:`vmod_topvar.
blob.undefine`
:ref:`func_
blob.defined`
:ref:`vmod_topvar.
blob.defined`
:ref:`func_
blob.protect`
:ref:`vmod_topvar.
blob.protect`
:ref:`func_
blob.protected`
:ref:`vmod_topvar.
blob.protected`
:ref:`
obj_
body`
:ref:`
vmod_topvar.
body`
:ref:`func_
body.get`
:ref:`vmod_topvar.
body.get`
:ref:`func_
body.set`
:ref:`vmod_topvar.
body.set`
:ref:`func_
body.undefine`
:ref:`vmod_topvar.
body.undefine`
:ref:`func_
body.defined`
:ref:`vmod_topvar.
body.defined`
:ref:`func_
body.protect`
:ref:`vmod_topvar.
body.protect`
:ref:`func_
body.protected`
:ref:`vmod_topvar.
body.protected`
:ref:`
obj_
bool`
:ref:`
vmod_topvar.
bool`
:ref:`func_
bool.get`
:ref:`vmod_topvar.
bool.get`
:ref:`func_
bool.set`
:ref:`vmod_topvar.
bool.set`
:ref:`func_
bool.undefine`
:ref:`vmod_topvar.
bool.undefine`
:ref:`func_
bool.defined`
:ref:`vmod_topvar.
bool.defined`
:ref:`func_
bool.protect`
:ref:`vmod_topvar.
bool.protect`
:ref:`func_
bool.protected`
:ref:`vmod_topvar.
bool.protected`
:ref:`
obj_
bytes`
:ref:`
vmod_topvar.
bytes`
:ref:`func_
bytes.get`
:ref:`vmod_topvar.
bytes.get`
:ref:`func_
bytes.set`
:ref:`vmod_topvar.
bytes.set`
:ref:`func_
bytes.undefine`
:ref:`vmod_topvar.
bytes.undefine`
:ref:`func_
bytes.defined`
:ref:`vmod_topvar.
bytes.defined`
:ref:`func_
bytes.protect`
:ref:`vmod_topvar.
bytes.protect`
:ref:`func_
bytes.protected`
:ref:`vmod_topvar.
bytes.protected`
:ref:`
obj_
duration`
:ref:`
vmod_topvar.
duration`
:ref:`func_
duration.get`
:ref:`vmod_topvar.
duration.get`
:ref:`func_
duration.set`
:ref:`vmod_topvar.
duration.set`
:ref:`func_
duration.undefine`
:ref:`vmod_topvar.
duration.undefine`
:ref:`func_
duration.defined`
:ref:`vmod_topvar.
duration.defined`
:ref:`func_
duration.protect`
:ref:`vmod_topvar.
duration.protect`
:ref:`func_
duration.protected`
:ref:`vmod_topvar.
duration.protected`
:ref:`
obj_
header`
:ref:`
vmod_topvar.
header`
:ref:`func_
header.get`
:ref:`vmod_topvar.
header.get`
:ref:`func_
header.set`
:ref:`vmod_topvar.
header.set`
:ref:`func_
header.undefine`
:ref:`vmod_topvar.
header.undefine`
:ref:`func_
header.defined`
:ref:`vmod_topvar.
header.defined`
:ref:`func_
header.protect`
:ref:`vmod_topvar.
header.protect`
:ref:`func_
header.protected`
:ref:`vmod_topvar.
header.protected`
:ref:`
obj_
int`
:ref:`
vmod_topvar.
int`
:ref:`func_
int.get`
:ref:`vmod_topvar.
int.get`
:ref:`func_
int.set`
:ref:`vmod_topvar.
int.set`
:ref:`func_
int.undefine`
:ref:`vmod_topvar.
int.undefine`
:ref:`func_
int.defined`
:ref:`vmod_topvar.
int.defined`
:ref:`func_
int.protect`
:ref:`vmod_topvar.
int.protect`
:ref:`func_
int.protected`
:ref:`vmod_topvar.
int.protected`
:ref:`
obj_
ip`
:ref:`
vmod_topvar.
ip`
:ref:`func_
ip.get`
:ref:`vmod_topvar.
ip.get`
:ref:`func_
ip.set`
:ref:`vmod_topvar.
ip.set`
:ref:`func_
ip.undefine`
:ref:`vmod_topvar.
ip.undefine`
:ref:`func_
ip.defined`
:ref:`vmod_topvar.
ip.defined`
:ref:`func_
ip.protect`
:ref:`vmod_topvar.
ip.protect`
:ref:`func_
ip.protected`
:ref:`vmod_topvar.
ip.protected`
:ref:`
obj_
probe`
:ref:`
vmod_topvar.
probe`
:ref:`func_
probe.get`
:ref:`vmod_topvar.
probe.get`
:ref:`func_
probe.set`
:ref:`vmod_topvar.
probe.set`
:ref:`func_
probe.undefine`
:ref:`vmod_topvar.
probe.undefine`
:ref:`func_
probe.defined`
:ref:`vmod_topvar.
probe.defined`
:ref:`func_
probe.protect`
:ref:`vmod_topvar.
probe.protect`
:ref:`func_
probe.protected`
:ref:`vmod_topvar.
probe.protected`
:ref:`
obj_
real`
:ref:`
vmod_topvar.
real`
:ref:`func_
real.get`
:ref:`vmod_topvar.
real.get`
:ref:`func_
real.set`
:ref:`vmod_topvar.
real.set`
:ref:`func_
real.undefine`
:ref:`vmod_topvar.
real.undefine`
:ref:`func_
real.defined`
:ref:`vmod_topvar.
real.defined`
:ref:`func_
real.protect`
:ref:`vmod_topvar.
real.protect`
:ref:`func_
real.protected`
:ref:`vmod_topvar.
real.protected`
:ref:`
obj_
stevedore`
:ref:`
vmod_topvar.
stevedore`
:ref:`func_
stevedore.get`
:ref:`vmod_topvar.
stevedore.get`
:ref:`func_
stevedore.set`
:ref:`vmod_topvar.
stevedore.set`
:ref:`func_
stevedore.undefine`
:ref:`vmod_topvar.
stevedore.undefine`
:ref:`func_
stevedore.defined`
:ref:`vmod_topvar.
stevedore.defined`
:ref:`func_
stevedore.protect`
:ref:`vmod_topvar.
stevedore.protect`
:ref:`func_
stevedore.protected`
:ref:`vmod_topvar.
stevedore.protected`
:ref:`
obj_
string`
:ref:`
vmod_topvar.
string`
:ref:`func_
string.get`
:ref:`vmod_topvar.
string.get`
:ref:`func_
string.set`
:ref:`vmod_topvar.
string.set`
:ref:`func_
string.undefine`
:ref:`vmod_topvar.
string.undefine`
:ref:`func_
string.defined`
:ref:`vmod_topvar.
string.defined`
:ref:`func_
string.protect`
:ref:`vmod_topvar.
string.protect`
:ref:`func_
string.protected`
:ref:`vmod_topvar.
string.protected`
:ref:`
obj_
time`
:ref:`
vmod_topvar.
time`
:ref:`func_
time.get`
:ref:`vmod_topvar.
time.get`
:ref:`func_
time.set`
:ref:`vmod_topvar.
time.set`
:ref:`func_
time.undefine`
:ref:`vmod_topvar.
time.undefine`
:ref:`func_
time.defined`
:ref:`vmod_topvar.
time.defined`
:ref:`func_
time.protect`
:ref:`vmod_topvar.
time.protect`
:ref:`func_
time.protected`
:ref:`vmod_topvar.
time.protected`
DESCRIPTION
DESCRIPTION
...
@@ -277,7 +277,7 @@ for the respective type names and the ``.get()`` fallback.
...
@@ -277,7 +277,7 @@ for the respective type names and the ``.get()`` fallback.
.. just a newline
.. just a newline
.. _
obj_
acl:
.. _
vmod_topvar.
acl:
new xacl = topvar.acl([ACL init])
new xacl = topvar.acl([ACL init])
---------------------------------
---------------------------------
...
@@ -286,7 +286,7 @@ Construct a(n) ACL topvar with the default value `init`,
...
@@ -286,7 +286,7 @@ Construct a(n) ACL topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
acl.get:
.. _
vmod_topvar.
acl.get:
ACL xacl.get(ACL fallback)
ACL xacl.get(ACL fallback)
--------------------------
--------------------------
...
@@ -294,7 +294,7 @@ ACL xacl.get(ACL fallback)
...
@@ -294,7 +294,7 @@ ACL xacl.get(ACL fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
acl.set:
.. _
vmod_topvar.
acl.set:
VOID xacl.set(ACL)
VOID xacl.set(ACL)
------------------
------------------
...
@@ -303,21 +303,21 @@ Set the value of the topvar.
...
@@ -303,21 +303,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
acl.undefine:
.. _
vmod_topvar.
acl.undefine:
VOID xacl.undefine()
VOID xacl.undefine()
--------------------
--------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
acl.defined:
.. _
vmod_topvar.
acl.defined:
BOOL xacl.defined()
BOOL xacl.defined()
-------------------
-------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
acl.protect:
.. _
vmod_topvar.
acl.protect:
VOID xacl.protect()
VOID xacl.protect()
-------------------
-------------------
...
@@ -325,14 +325,14 @@ VOID xacl.protect()
...
@@ -325,14 +325,14 @@ VOID xacl.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
acl.protected:
.. _
vmod_topvar.
acl.protected:
BOOL xacl.protected()
BOOL xacl.protected()
---------------------
---------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
backend:
.. _
vmod_topvar.
backend:
new xbackend = topvar.backend([BACKEND init])
new xbackend = topvar.backend([BACKEND init])
---------------------------------------------
---------------------------------------------
...
@@ -341,7 +341,7 @@ Construct a(n) BACKEND topvar with the default value `init`,
...
@@ -341,7 +341,7 @@ Construct a(n) BACKEND topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
backend.get:
.. _
vmod_topvar.
backend.get:
BACKEND xbackend.get(BACKEND fallback=0)
BACKEND xbackend.get(BACKEND fallback=0)
----------------------------------------
----------------------------------------
...
@@ -349,7 +349,7 @@ BACKEND xbackend.get(BACKEND fallback=0)
...
@@ -349,7 +349,7 @@ BACKEND xbackend.get(BACKEND fallback=0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is no backend.
if it is undefined. The default fallback is no backend.
.. _
func_
backend.set:
.. _
vmod_topvar.
backend.set:
VOID xbackend.set(BACKEND)
VOID xbackend.set(BACKEND)
--------------------------
--------------------------
...
@@ -358,21 +358,21 @@ Set the value of the topvar.
...
@@ -358,21 +358,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
backend.undefine:
.. _
vmod_topvar.
backend.undefine:
VOID xbackend.undefine()
VOID xbackend.undefine()
------------------------
------------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
backend.defined:
.. _
vmod_topvar.
backend.defined:
BOOL xbackend.defined()
BOOL xbackend.defined()
-----------------------
-----------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
backend.protect:
.. _
vmod_topvar.
backend.protect:
VOID xbackend.protect()
VOID xbackend.protect()
-----------------------
-----------------------
...
@@ -380,14 +380,14 @@ VOID xbackend.protect()
...
@@ -380,14 +380,14 @@ VOID xbackend.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
backend.protected:
.. _
vmod_topvar.
backend.protected:
BOOL xbackend.protected()
BOOL xbackend.protected()
-------------------------
-------------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
blob:
.. _
vmod_topvar.
blob:
new xblob = topvar.blob([BLOB init])
new xblob = topvar.blob([BLOB init])
------------------------------------
------------------------------------
...
@@ -396,7 +396,7 @@ Construct a(n) BLOB topvar with the default value `init`,
...
@@ -396,7 +396,7 @@ Construct a(n) BLOB topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
blob.get:
.. _
vmod_topvar.
blob.get:
BLOB xblob.get(BLOB fallback)
BLOB xblob.get(BLOB fallback)
-----------------------------
-----------------------------
...
@@ -404,7 +404,7 @@ BLOB xblob.get(BLOB fallback)
...
@@ -404,7 +404,7 @@ BLOB xblob.get(BLOB fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
blob.set:
.. _
vmod_topvar.
blob.set:
VOID xblob.set(BLOB)
VOID xblob.set(BLOB)
--------------------
--------------------
...
@@ -413,21 +413,21 @@ Set the value of the topvar.
...
@@ -413,21 +413,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
blob.undefine:
.. _
vmod_topvar.
blob.undefine:
VOID xblob.undefine()
VOID xblob.undefine()
---------------------
---------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
blob.defined:
.. _
vmod_topvar.
blob.defined:
BOOL xblob.defined()
BOOL xblob.defined()
--------------------
--------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
blob.protect:
.. _
vmod_topvar.
blob.protect:
VOID xblob.protect()
VOID xblob.protect()
--------------------
--------------------
...
@@ -435,14 +435,14 @@ VOID xblob.protect()
...
@@ -435,14 +435,14 @@ VOID xblob.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
blob.protected:
.. _
vmod_topvar.
blob.protected:
BOOL xblob.protected()
BOOL xblob.protected()
----------------------
----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
body:
.. _
vmod_topvar.
body:
new xbody = topvar.body([BODY init])
new xbody = topvar.body([BODY init])
------------------------------------
------------------------------------
...
@@ -451,7 +451,7 @@ Construct a(n) BODY topvar with the default value `init`,
...
@@ -451,7 +451,7 @@ Construct a(n) BODY topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
body.get:
.. _
vmod_topvar.
body.get:
BODY xbody.get(BODY fallback)
BODY xbody.get(BODY fallback)
-----------------------------
-----------------------------
...
@@ -459,7 +459,7 @@ BODY xbody.get(BODY fallback)
...
@@ -459,7 +459,7 @@ BODY xbody.get(BODY fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
body.set:
.. _
vmod_topvar.
body.set:
VOID xbody.set(BODY)
VOID xbody.set(BODY)
--------------------
--------------------
...
@@ -468,21 +468,21 @@ Set the value of the topvar.
...
@@ -468,21 +468,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
body.undefine:
.. _
vmod_topvar.
body.undefine:
VOID xbody.undefine()
VOID xbody.undefine()
---------------------
---------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
body.defined:
.. _
vmod_topvar.
body.defined:
BOOL xbody.defined()
BOOL xbody.defined()
--------------------
--------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
body.protect:
.. _
vmod_topvar.
body.protect:
VOID xbody.protect()
VOID xbody.protect()
--------------------
--------------------
...
@@ -490,14 +490,14 @@ VOID xbody.protect()
...
@@ -490,14 +490,14 @@ VOID xbody.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
body.protected:
.. _
vmod_topvar.
body.protected:
BOOL xbody.protected()
BOOL xbody.protected()
----------------------
----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
bool:
.. _
vmod_topvar.
bool:
new xbool = topvar.bool([BOOL init])
new xbool = topvar.bool([BOOL init])
------------------------------------
------------------------------------
...
@@ -506,7 +506,7 @@ Construct a(n) BOOL topvar with the default value `init`,
...
@@ -506,7 +506,7 @@ Construct a(n) BOOL topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bool.get:
.. _
vmod_topvar.
bool.get:
BOOL xbool.get(BOOL fallback)
BOOL xbool.get(BOOL fallback)
-----------------------------
-----------------------------
...
@@ -514,7 +514,7 @@ BOOL xbool.get(BOOL fallback)
...
@@ -514,7 +514,7 @@ BOOL xbool.get(BOOL fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bool.set:
.. _
vmod_topvar.
bool.set:
VOID xbool.set(BOOL)
VOID xbool.set(BOOL)
--------------------
--------------------
...
@@ -523,21 +523,21 @@ Set the value of the topvar.
...
@@ -523,21 +523,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
bool.undefine:
.. _
vmod_topvar.
bool.undefine:
VOID xbool.undefine()
VOID xbool.undefine()
---------------------
---------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
bool.defined:
.. _
vmod_topvar.
bool.defined:
BOOL xbool.defined()
BOOL xbool.defined()
--------------------
--------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
bool.protect:
.. _
vmod_topvar.
bool.protect:
VOID xbool.protect()
VOID xbool.protect()
--------------------
--------------------
...
@@ -545,14 +545,14 @@ VOID xbool.protect()
...
@@ -545,14 +545,14 @@ VOID xbool.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
bool.protected:
.. _
vmod_topvar.
bool.protected:
BOOL xbool.protected()
BOOL xbool.protected()
----------------------
----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
bytes:
.. _
vmod_topvar.
bytes:
new xbytes = topvar.bytes([BYTES init])
new xbytes = topvar.bytes([BYTES init])
---------------------------------------
---------------------------------------
...
@@ -561,7 +561,7 @@ Construct a(n) BYTES topvar with the default value `init`,
...
@@ -561,7 +561,7 @@ Construct a(n) BYTES topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
bytes.get:
.. _
vmod_topvar.
bytes.get:
BYTES xbytes.get(BYTES fallback)
BYTES xbytes.get(BYTES fallback)
--------------------------------
--------------------------------
...
@@ -569,7 +569,7 @@ BYTES xbytes.get(BYTES fallback)
...
@@ -569,7 +569,7 @@ BYTES xbytes.get(BYTES fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
bytes.set:
.. _
vmod_topvar.
bytes.set:
VOID xbytes.set(BYTES)
VOID xbytes.set(BYTES)
----------------------
----------------------
...
@@ -578,21 +578,21 @@ Set the value of the topvar.
...
@@ -578,21 +578,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
bytes.undefine:
.. _
vmod_topvar.
bytes.undefine:
VOID xbytes.undefine()
VOID xbytes.undefine()
----------------------
----------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
bytes.defined:
.. _
vmod_topvar.
bytes.defined:
BOOL xbytes.defined()
BOOL xbytes.defined()
---------------------
---------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
bytes.protect:
.. _
vmod_topvar.
bytes.protect:
VOID xbytes.protect()
VOID xbytes.protect()
---------------------
---------------------
...
@@ -600,14 +600,14 @@ VOID xbytes.protect()
...
@@ -600,14 +600,14 @@ VOID xbytes.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
bytes.protected:
.. _
vmod_topvar.
bytes.protected:
BOOL xbytes.protected()
BOOL xbytes.protected()
-----------------------
-----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
duration:
.. _
vmod_topvar.
duration:
new xduration = topvar.duration([DURATION init])
new xduration = topvar.duration([DURATION init])
------------------------------------------------
------------------------------------------------
...
@@ -616,7 +616,7 @@ Construct a(n) DURATION topvar with the default value `init`,
...
@@ -616,7 +616,7 @@ Construct a(n) DURATION topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
duration.get:
.. _
vmod_topvar.
duration.get:
DURATION xduration.get(DURATION fallback=0)
DURATION xduration.get(DURATION fallback=0)
-------------------------------------------
-------------------------------------------
...
@@ -624,7 +624,7 @@ DURATION xduration.get(DURATION fallback=0)
...
@@ -624,7 +624,7 @@ DURATION xduration.get(DURATION fallback=0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is 0s.
if it is undefined. The default fallback is 0s.
.. _
func_
duration.set:
.. _
vmod_topvar.
duration.set:
VOID xduration.set(DURATION)
VOID xduration.set(DURATION)
----------------------------
----------------------------
...
@@ -633,21 +633,21 @@ Set the value of the topvar.
...
@@ -633,21 +633,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
duration.undefine:
.. _
vmod_topvar.
duration.undefine:
VOID xduration.undefine()
VOID xduration.undefine()
-------------------------
-------------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
duration.defined:
.. _
vmod_topvar.
duration.defined:
BOOL xduration.defined()
BOOL xduration.defined()
------------------------
------------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
duration.protect:
.. _
vmod_topvar.
duration.protect:
VOID xduration.protect()
VOID xduration.protect()
------------------------
------------------------
...
@@ -655,14 +655,14 @@ VOID xduration.protect()
...
@@ -655,14 +655,14 @@ VOID xduration.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
duration.protected:
.. _
vmod_topvar.
duration.protected:
BOOL xduration.protected()
BOOL xduration.protected()
--------------------------
--------------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
header:
.. _
vmod_topvar.
header:
new xheader = topvar.header([HEADER init])
new xheader = topvar.header([HEADER init])
------------------------------------------
------------------------------------------
...
@@ -671,7 +671,7 @@ Construct a(n) HEADER topvar with the default value `init`,
...
@@ -671,7 +671,7 @@ Construct a(n) HEADER topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
header.get:
.. _
vmod_topvar.
header.get:
HEADER xheader.get(HEADER fallback)
HEADER xheader.get(HEADER fallback)
-----------------------------------
-----------------------------------
...
@@ -679,7 +679,7 @@ HEADER xheader.get(HEADER fallback)
...
@@ -679,7 +679,7 @@ HEADER xheader.get(HEADER fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
header.set:
.. _
vmod_topvar.
header.set:
VOID xheader.set(HEADER)
VOID xheader.set(HEADER)
------------------------
------------------------
...
@@ -688,21 +688,21 @@ Set the value of the topvar.
...
@@ -688,21 +688,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
header.undefine:
.. _
vmod_topvar.
header.undefine:
VOID xheader.undefine()
VOID xheader.undefine()
-----------------------
-----------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
header.defined:
.. _
vmod_topvar.
header.defined:
BOOL xheader.defined()
BOOL xheader.defined()
----------------------
----------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
header.protect:
.. _
vmod_topvar.
header.protect:
VOID xheader.protect()
VOID xheader.protect()
----------------------
----------------------
...
@@ -710,14 +710,14 @@ VOID xheader.protect()
...
@@ -710,14 +710,14 @@ VOID xheader.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
header.protected:
.. _
vmod_topvar.
header.protected:
BOOL xheader.protected()
BOOL xheader.protected()
------------------------
------------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
int:
.. _
vmod_topvar.
int:
new xint = topvar.int([INT init])
new xint = topvar.int([INT init])
---------------------------------
---------------------------------
...
@@ -726,7 +726,7 @@ Construct a(n) INT topvar with the default value `init`,
...
@@ -726,7 +726,7 @@ Construct a(n) INT topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
int.get:
.. _
vmod_topvar.
int.get:
INT xint.get(INT fallback=0)
INT xint.get(INT fallback=0)
----------------------------
----------------------------
...
@@ -734,7 +734,7 @@ INT xint.get(INT fallback=0)
...
@@ -734,7 +734,7 @@ INT xint.get(INT fallback=0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is 0.
if it is undefined. The default fallback is 0.
.. _
func_
int.set:
.. _
vmod_topvar.
int.set:
VOID xint.set(INT)
VOID xint.set(INT)
------------------
------------------
...
@@ -743,21 +743,21 @@ Set the value of the topvar.
...
@@ -743,21 +743,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
int.undefine:
.. _
vmod_topvar.
int.undefine:
VOID xint.undefine()
VOID xint.undefine()
--------------------
--------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
int.defined:
.. _
vmod_topvar.
int.defined:
BOOL xint.defined()
BOOL xint.defined()
-------------------
-------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
int.protect:
.. _
vmod_topvar.
int.protect:
VOID xint.protect()
VOID xint.protect()
-------------------
-------------------
...
@@ -765,14 +765,14 @@ VOID xint.protect()
...
@@ -765,14 +765,14 @@ VOID xint.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
int.protected:
.. _
vmod_topvar.
int.protected:
BOOL xint.protected()
BOOL xint.protected()
---------------------
---------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
ip:
.. _
vmod_topvar.
ip:
new xip = topvar.ip([IP init])
new xip = topvar.ip([IP init])
------------------------------
------------------------------
...
@@ -781,7 +781,7 @@ Construct a(n) IP topvar with the default value `init`,
...
@@ -781,7 +781,7 @@ Construct a(n) IP topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
ip.get:
.. _
vmod_topvar.
ip.get:
IP xip.get(IP fallback)
IP xip.get(IP fallback)
-----------------------
-----------------------
...
@@ -789,7 +789,7 @@ IP xip.get(IP fallback)
...
@@ -789,7 +789,7 @@ IP xip.get(IP fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
ip.set:
.. _
vmod_topvar.
ip.set:
VOID xip.set(IP)
VOID xip.set(IP)
----------------
----------------
...
@@ -798,21 +798,21 @@ Set the value of the topvar.
...
@@ -798,21 +798,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
ip.undefine:
.. _
vmod_topvar.
ip.undefine:
VOID xip.undefine()
VOID xip.undefine()
-------------------
-------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
ip.defined:
.. _
vmod_topvar.
ip.defined:
BOOL xip.defined()
BOOL xip.defined()
------------------
------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
ip.protect:
.. _
vmod_topvar.
ip.protect:
VOID xip.protect()
VOID xip.protect()
------------------
------------------
...
@@ -820,14 +820,14 @@ VOID xip.protect()
...
@@ -820,14 +820,14 @@ VOID xip.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
ip.protected:
.. _
vmod_topvar.
ip.protected:
BOOL xip.protected()
BOOL xip.protected()
--------------------
--------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
probe:
.. _
vmod_topvar.
probe:
new xprobe = topvar.probe([PROBE init])
new xprobe = topvar.probe([PROBE init])
---------------------------------------
---------------------------------------
...
@@ -836,7 +836,7 @@ Construct a(n) PROBE topvar with the default value `init`,
...
@@ -836,7 +836,7 @@ Construct a(n) PROBE topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
probe.get:
.. _
vmod_topvar.
probe.get:
PROBE xprobe.get(PROBE fallback)
PROBE xprobe.get(PROBE fallback)
--------------------------------
--------------------------------
...
@@ -844,7 +844,7 @@ PROBE xprobe.get(PROBE fallback)
...
@@ -844,7 +844,7 @@ PROBE xprobe.get(PROBE fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
probe.set:
.. _
vmod_topvar.
probe.set:
VOID xprobe.set(PROBE)
VOID xprobe.set(PROBE)
----------------------
----------------------
...
@@ -853,21 +853,21 @@ Set the value of the topvar.
...
@@ -853,21 +853,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
probe.undefine:
.. _
vmod_topvar.
probe.undefine:
VOID xprobe.undefine()
VOID xprobe.undefine()
----------------------
----------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
probe.defined:
.. _
vmod_topvar.
probe.defined:
BOOL xprobe.defined()
BOOL xprobe.defined()
---------------------
---------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
probe.protect:
.. _
vmod_topvar.
probe.protect:
VOID xprobe.protect()
VOID xprobe.protect()
---------------------
---------------------
...
@@ -875,14 +875,14 @@ VOID xprobe.protect()
...
@@ -875,14 +875,14 @@ VOID xprobe.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
probe.protected:
.. _
vmod_topvar.
probe.protected:
BOOL xprobe.protected()
BOOL xprobe.protected()
-----------------------
-----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
real:
.. _
vmod_topvar.
real:
new xreal = topvar.real([REAL init])
new xreal = topvar.real([REAL init])
------------------------------------
------------------------------------
...
@@ -891,7 +891,7 @@ Construct a(n) REAL topvar with the default value `init`,
...
@@ -891,7 +891,7 @@ Construct a(n) REAL topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
real.get:
.. _
vmod_topvar.
real.get:
REAL xreal.get(REAL fallback=0.0)
REAL xreal.get(REAL fallback=0.0)
---------------------------------
---------------------------------
...
@@ -899,7 +899,7 @@ REAL xreal.get(REAL fallback=0.0)
...
@@ -899,7 +899,7 @@ REAL xreal.get(REAL fallback=0.0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is 0.0.
if it is undefined. The default fallback is 0.0.
.. _
func_
real.set:
.. _
vmod_topvar.
real.set:
VOID xreal.set(REAL)
VOID xreal.set(REAL)
--------------------
--------------------
...
@@ -908,21 +908,21 @@ Set the value of the topvar.
...
@@ -908,21 +908,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
real.undefine:
.. _
vmod_topvar.
real.undefine:
VOID xreal.undefine()
VOID xreal.undefine()
---------------------
---------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
real.defined:
.. _
vmod_topvar.
real.defined:
BOOL xreal.defined()
BOOL xreal.defined()
--------------------
--------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
real.protect:
.. _
vmod_topvar.
real.protect:
VOID xreal.protect()
VOID xreal.protect()
--------------------
--------------------
...
@@ -930,14 +930,14 @@ VOID xreal.protect()
...
@@ -930,14 +930,14 @@ VOID xreal.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
real.protected:
.. _
vmod_topvar.
real.protected:
BOOL xreal.protected()
BOOL xreal.protected()
----------------------
----------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
stevedore:
.. _
vmod_topvar.
stevedore:
new xstevedore = topvar.stevedore([STEVEDORE init])
new xstevedore = topvar.stevedore([STEVEDORE init])
---------------------------------------------------
---------------------------------------------------
...
@@ -946,7 +946,7 @@ Construct a(n) STEVEDORE topvar with the default value `init`,
...
@@ -946,7 +946,7 @@ Construct a(n) STEVEDORE topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
stevedore.get:
.. _
vmod_topvar.
stevedore.get:
STEVEDORE xstevedore.get(STEVEDORE fallback)
STEVEDORE xstevedore.get(STEVEDORE fallback)
--------------------------------------------
--------------------------------------------
...
@@ -954,7 +954,7 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
...
@@ -954,7 +954,7 @@ STEVEDORE xstevedore.get(STEVEDORE fallback)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined.
if it is undefined.
.. _
func_
stevedore.set:
.. _
vmod_topvar.
stevedore.set:
VOID xstevedore.set(STEVEDORE)
VOID xstevedore.set(STEVEDORE)
------------------------------
------------------------------
...
@@ -963,21 +963,21 @@ Set the value of the topvar.
...
@@ -963,21 +963,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
stevedore.undefine:
.. _
vmod_topvar.
stevedore.undefine:
VOID xstevedore.undefine()
VOID xstevedore.undefine()
--------------------------
--------------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
stevedore.defined:
.. _
vmod_topvar.
stevedore.defined:
BOOL xstevedore.defined()
BOOL xstevedore.defined()
-------------------------
-------------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
stevedore.protect:
.. _
vmod_topvar.
stevedore.protect:
VOID xstevedore.protect()
VOID xstevedore.protect()
-------------------------
-------------------------
...
@@ -985,14 +985,14 @@ VOID xstevedore.protect()
...
@@ -985,14 +985,14 @@ VOID xstevedore.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
stevedore.protected:
.. _
vmod_topvar.
stevedore.protected:
BOOL xstevedore.protected()
BOOL xstevedore.protected()
---------------------------
---------------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
string:
.. _
vmod_topvar.
string:
new xstring = topvar.string([STRING init])
new xstring = topvar.string([STRING init])
------------------------------------------
------------------------------------------
...
@@ -1001,7 +1001,7 @@ Construct a(n) STRING topvar with the default value `init`,
...
@@ -1001,7 +1001,7 @@ Construct a(n) STRING topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
string.get:
.. _
vmod_topvar.
string.get:
STRING xstring.get(STRING fallback=0)
STRING xstring.get(STRING fallback=0)
-------------------------------------
-------------------------------------
...
@@ -1009,7 +1009,7 @@ STRING xstring.get(STRING fallback=0)
...
@@ -1009,7 +1009,7 @@ STRING xstring.get(STRING fallback=0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is the empty string.
if it is undefined. The default fallback is the empty string.
.. _
func_
string.set:
.. _
vmod_topvar.
string.set:
VOID xstring.set(STRING)
VOID xstring.set(STRING)
------------------------
------------------------
...
@@ -1018,21 +1018,21 @@ Set the value of the topvar.
...
@@ -1018,21 +1018,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
string.undefine:
.. _
vmod_topvar.
string.undefine:
VOID xstring.undefine()
VOID xstring.undefine()
-----------------------
-----------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
string.defined:
.. _
vmod_topvar.
string.defined:
BOOL xstring.defined()
BOOL xstring.defined()
----------------------
----------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
string.protect:
.. _
vmod_topvar.
string.protect:
VOID xstring.protect()
VOID xstring.protect()
----------------------
----------------------
...
@@ -1040,14 +1040,14 @@ VOID xstring.protect()
...
@@ -1040,14 +1040,14 @@ VOID xstring.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
string.protected:
.. _
vmod_topvar.
string.protected:
BOOL xstring.protected()
BOOL xstring.protected()
------------------------
------------------------
Return whether the topvar is protected.
Return whether the topvar is protected.
.. _
obj_
time:
.. _
vmod_topvar.
time:
new xtime = topvar.time([TIME init])
new xtime = topvar.time([TIME init])
------------------------------------
------------------------------------
...
@@ -1056,7 +1056,7 @@ Construct a(n) TIME topvar with the default value `init`,
...
@@ -1056,7 +1056,7 @@ Construct a(n) TIME topvar with the default value `init`,
if provided. If no `init` value is provided, the variable
if provided. If no `init` value is provided, the variable
will be initially undefined.
will be initially undefined.
.. _
func_
time.get:
.. _
vmod_topvar.
time.get:
TIME xtime.get(TIME fallback=0)
TIME xtime.get(TIME fallback=0)
-------------------------------
-------------------------------
...
@@ -1064,7 +1064,7 @@ TIME xtime.get(TIME fallback=0)
...
@@ -1064,7 +1064,7 @@ TIME xtime.get(TIME fallback=0)
Return the value of the topvar or the `fallback` argument
Return the value of the topvar or the `fallback` argument
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
if it is undefined. The default fallback is the epoch (1970/1/1 0:00:00 GMT).
.. _
func_
time.set:
.. _
vmod_topvar.
time.set:
VOID xtime.set(TIME)
VOID xtime.set(TIME)
--------------------
--------------------
...
@@ -1073,21 +1073,21 @@ Set the value of the topvar.
...
@@ -1073,21 +1073,21 @@ Set the value of the topvar.
Triggers a vcl failure for protected variables.
Triggers a vcl failure for protected variables.
.. _
func_
time.undefine:
.. _
vmod_topvar.
time.undefine:
VOID xtime.undefine()
VOID xtime.undefine()
---------------------
---------------------
Undefine the topvar.
Undefine the topvar.
.. _
func_
time.defined:
.. _
vmod_topvar.
time.defined:
BOOL xtime.defined()
BOOL xtime.defined()
--------------------
--------------------
Return whether the topvar is defined.
Return whether the topvar is defined.
.. _
func_
time.protect:
.. _
vmod_topvar.
time.protect:
VOID xtime.protect()
VOID xtime.protect()
--------------------
--------------------
...
@@ -1095,7 +1095,7 @@ VOID xtime.protect()
...
@@ -1095,7 +1095,7 @@ VOID xtime.protect()
Protect the topvar, so any future .set() calls on it
Protect the topvar, so any future .set() calls on it
trigger a vcl failure.
trigger a vcl failure.
.. _
func_
time.protected:
.. _
vmod_topvar.
time.protected:
BOOL xtime.protected()
BOOL xtime.protected()
----------------------
----------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment