# 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 . $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)