3 Avahi module for Augeas
5 Author: Athir Nuaimi <athir@nuaimi.com>
7 avahi-daemon.conf is a standard INI File.
13 (************************************************************************
14 * Group: INI File settings
15 * avahi-daemon.conf only supports "# as commentary and "=" as separator
16 *************************************************************************)
18 let comment = IniFile.comment "#" "#"
20 let sep = IniFile.sep "=" "="
22 (************************************************************************
24 *************************************************************************)
26 let entry = IniFile.indented_entry IniFile.entry_re sep comment
28 (************************************************************************
30 *************************************************************************)
32 let title = IniFile.indented_title IniFile.record_re
34 let record = IniFile.record title entry
36 (************************************************************************
37 * Group: Lens and filter
38 *************************************************************************)
40 let lns = IniFile.lns record comment
43 let filter = (incl "/etc/avahi/avahi-daemon.conf")
45 let xfm = transform lns filter