3 Author: Marc Fournier <marc.fournier@camptocamp.com>
5 odbc.ini and odbcinst.ini are standard INI files.
12 (************************************************************************
14 * odbc.ini only supports "# as commentary and "=" as separator
15 ************************************************************************)
16 let comment = IniFile.comment "#" "#"
17 let sep = IniFile.sep "=" "="
20 (************************************************************************
22 * odbc.ini uses standard INI File entries
23 ************************************************************************)
24 let entry = IniFile.indented_entry IniFile.entry_re sep comment
27 (************************************************************************
29 * odbc.ini uses standard INI File records
30 ************************************************************************)
31 let title = IniFile.indented_title IniFile.record_re
32 let record = IniFile.record title entry
35 (************************************************************************
37 ************************************************************************)
38 let lns = IniFile.lns record comment
40 let filter = incl "/etc/odbc.ini"
41 . incl "/etc/odbcinst.ini"
43 let xfm = transform lns filter