"Fossies" - the Fresh Open Source Software Archive

Member "haproxy-2.0.8/include/proto/vars.h" (23 Oct 2019, 768 Bytes) of package /linux/misc/haproxy-2.0.8.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "vars.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef _PROTO_VARS_H
    2 #define _PROTO_VARS_H
    3 
    4 #include <types/vars.h>
    5 
    6 void vars_init(struct vars *vars, enum vars_scope scope);
    7 void vars_prune(struct vars *vars, struct session *sess, struct stream *strm);
    8 void vars_prune_per_sess(struct vars *vars);
    9 int vars_get_by_name(const char *name, size_t len, struct sample *smp);
   10 void vars_set_by_name_ifexist(const char *name, size_t len, struct sample *smp);
   11 void vars_set_by_name(const char *name, size_t len, struct sample *smp);
   12 void vars_unset_by_name_ifexist(const char *name, size_t len, struct sample *smp);
   13 void vars_unset_by_name(const char *name, size_t len, struct sample *smp);
   14 int vars_get_by_desc(const struct var_desc *var_desc, struct sample *smp);
   15 int vars_check_arg(struct arg *arg, char **err);
   16 
   17 #endif