aboutsummaryrefslogtreecommitdiff
path: root/src/variable.vcc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2017-08-04 17:38:17 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2017-08-04 17:39:46 +0300
commite2e9e4647ae1baf3de116bc52f1f73b8cf221c76 (patch)
tree4c7f88a92aed8ebe28d1e0584737bbe9ec1d2689 /src/variable.vcc
parent9d9f34d1ef0483fc012ea283e649d507ff410638 (diff)
downloadvmod-variable-e2e9e4647ae1baf3de116bc52f1f73b8cf221c76.tar.gz
vmod-variable-e2e9e4647ae1baf3de116bc52f1f73b8cf221c76.tar.bz2
Switch to new acvmod
Diffstat (limited to 'src/variable.vcc')
-rw-r--r--src/variable.vcc20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/variable.vcc b/src/variable.vcc
index b2888fa..c309218 100644
--- a/src/variable.vcc
+++ b/src/variable.vcc
@@ -1,3 +1,3 @@
# This file is part of vmod-variable
-# Copyright (C) 2015, 2016 Sergey Poznyakoff
+# Copyright (C) 2015-2017 Sergey Poznyakoff
#
@@ -25,13 +25,25 @@ For a detailed documentation, please see vmod-variable(3) manual page.
$Function VOID set(PRIV_TASK, STRING, STRING)
+
$Function STRING get(PRIV_TASK, STRING)
+
$Function VOID global_set(STRING, STRING)
+
$Function STRING global_get(STRING)
+
$Function VOID set_int(PRIV_TASK, STRING, INT)
+
$Function INT get_int(PRIV_TASK, STRING)
+
$Function VOID set_string(PRIV_TASK, STRING, STRING)
+
$Function STRING get_string(PRIV_TASK, STRING)
+
$Function VOID set_real(PRIV_TASK, STRING, REAL)
+
$Function REAL get_real(PRIV_TASK, STRING)
+
$Function VOID set_duration(PRIV_TASK, STRING, DURATION)
+
$Function DURATION get_duration(PRIV_TASK, STRING)
+
$Function VOID clear(PRIV_TASK)
@@ -39,3 +51,5 @@ $Function VOID clear(PRIV_TASK)
$Function VOID global_clear()
+
$Function BOOL global_defined(STRING)
+
$Function VOID global_unset(STRING)
@@ -43,5 +57,9 @@ $Function VOID global_unset(STRING)
$Function BOOL defined(PRIV_TASK, STRING)
+
$Function STRING type_of(PRIV_TASK, STRING)
+
$Function VOID unset(PRIV_TASK, STRING)
+
$Function VOID regset(PRIV_TASK, STRING, STRING, STRING)
+
$Function VOID queryset(PRIV_TASK, STRING, STRING)

Return to:

Send suggestions and report system problems to the System administrator.