aboutsummaryrefslogtreecommitdiff
path: root/src/variable.vcc
blob: b8eb8e2a451470363c039532585264e7c8818f3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# This file is part of vmod-variable
# Copyright (C) 2015 Sergey Poznyakoff
#
# Vmod-variable is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
#
# Vmod-variable is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with vmod-variable.  If not, see <http://www.gnu.org/licenses/>.

$Module variable 3 Variable Support for Varnish

$Function VOID set(STRING, STRING)
$Function STRING get(STRING)
$Function VOID global_set(STRING, STRING)
$Function STRING global_get(STRING)
$Function VOID set_int(STRING, INT)
$Function INT get_int(STRING)
$Function VOID set_string(STRING, STRING)
$Function STRING get_string(STRING)
$Function VOID set_real(STRING, REAL)
$Function REAL get_real(STRING)
$Function VOID set_duration(STRING, DURATION)
$Function DURATION get_duration(STRING)
$Function VOID clear()

$Function INT defined(STRING)
$Function STRING type_of(STRING)
$Function VOID undef(STRING)
$Function VOID batchset(STRING, STRING, STRING)

Return to:

Send suggestions and report system problems to the System administrator.