#!/bin/bash
#
# Configuration file for dnsBCmp
#
# Usage: ./t2plconf
#
# Enter configurations items as follows:
#
#   "NAME" "TYPE" "DEPENDENCIES" "DESCRIPTION"
#
#   - TYPE can be:
#       - check (boolean),
#       - radio (set of values),
#       - range (min <= val <= max)
#       - text
#
#   - DEPENDENCIES MUST be numeric, e.g., "A == 1 && (B < 4 || C >= 1)"
#
#   - DESCRIPTION for type 'check' MUST NOT contain tabs ('\t')
#   - DESCRIPTION for TYPE 'range' MUST NOT contain '\t' or ':'
#   - DESCRIPTION for TYPE 'radio' MUST NOT contain '\t', ':' or ';'
#   - DESCRIPTION for TYPE 'text'  MUST NOT contain '\t'
#
#   - DESCRIPTION MUST be formatted according to the type (see examples below):
#       - check: description
#       - radio: description ';' val1 ':' description1 ';' valN ':' descriptionN
#       - range: description ':' min ' ' max
#       - text : description

ITEMS=(
    TF_STAT    check "" "Print status"
    TF_ALRMBIN range "" "Def of alarm bin [s]: 0 18748800"
    TF_DRECMAX range "" "Max # of name records / flow: 0 255"
    TF_ARECMAX range "" "Max # of address records / flow: 0 255"
    TFDMFILE text "" "Name of the DNS domain blacklist"
    TFIPFILE text "" "Name of thr DNS IP blacklist"
    BEST_MATCH radio "" "Matching algorithm; 0: exact match; 1: best match"
)

# Source the main config file
source ../scripts/t2conf/t2plconf
