# -*- text -*-
#
#  Read CSV files and use them in maps.
#
#  The CSV files MUST be formatted according to RFC 4180.
#
#  Multi-line fields are NOT allowed.
#
#
#
#
#  $Id: f1fcf745bdfbb79c9f34a3cf346c17302f715131 $

csv {
	#
	#  The field delimiter.  MUST be a one-character string
	#
	delimiter = ","

	#
	#  The file which contains the CSV data
	#
	filename = ${modconfdir}/csv/${.:instance}

	#
	#  A header which defines field names.
	#
	#  MUST have the same number of fields as are in the CSV file.
	#
	#  MUST NOT include whitespace.
	#
	#  Fields which are not used should have no name
	#  	e.g. "foo,,bar" defines 3 fields, where the second
	#	is unused.
	#
	header = "field1,,field3,field4"

	#
	#  The name of the key field.  It is used to index the entries.
	#  It can be any one of the field names defined above.
	#
	key_field = "field1"
}
