From: Victor Julien Date: Mon, 4 Mar 2024 11:29:24 +0000 (+0100) Subject: util/var: add comments explaining types X-Git-Tag: suricata-8.0.0-beta1~1104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a81b23254c10805cb4bed4f7096134f2533f84c4;p=thirdparty%2Fsuricata.git util/var: add comments explaining types --- diff --git a/src/util-var.h b/src/util-var.h index c8e7d5af6d..fe3010097d 100644 --- a/src/util-var.h +++ b/src/util-var.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007-2010 Open Information Security Foundation +/* Copyright (C) 2007-2024 Open Information Security Foundation * * You can copy, redistribute or modify this Program under the terms of * the GNU General Public License version 2 as published by the Free @@ -24,6 +24,7 @@ #ifndef SURICATA_UTIL_VAR_H #define SURICATA_UTIL_VAR_H +/** variable types: these are used to track variable names */ enum VarTypes { VAR_TYPE_NOT_SET, @@ -46,7 +47,7 @@ enum VarTypes { }; typedef struct GenericVar_ { - uint8_t type; + uint8_t type; /**< variable type, uses detection sm_type */ uint8_t pad[3]; uint32_t idx; struct GenericVar_ *next;