Server : Apache
System : Linux vps-1289444.devslamantis.cl 3.10.0-1160.139.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Nov 3 13:30:41 UTC 2025 x86_64
User : vspt ( 1013)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/augeas/lenses/dist/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]


Current File : //usr/share/augeas/lenses/dist/odbc.aug
(*
 ODBC lens for Augeas
 Author: Marc Fournier <marc.fournier@camptocamp.com>

 odbc.ini and odbcinst.ini are standard INI files.
*)


module Odbc =
  autoload xfm

(************************************************************************
 *                     INI File settings
 * odbc.ini only supports "# as commentary and "=" as separator
 ************************************************************************)
let comment    = IniFile.comment "#" "#"
let sep        = IniFile.sep "=" "="


(************************************************************************
 *                        ENTRY
 * odbc.ini uses standard INI File entries
 ************************************************************************)
let entry   = IniFile.indented_entry IniFile.entry_re sep comment


(************************************************************************
 *                        RECORD
 * odbc.ini uses standard INI File records
 ************************************************************************)
let title   = IniFile.indented_title IniFile.record_re
let record  = IniFile.record title entry


(************************************************************************
 *                        LENS & FILTER
 ************************************************************************)
let lns     = IniFile.lns record comment

let filter = incl "/etc/odbc.ini"
           . incl "/etc/odbcinst.ini"

let xfm = transform lns filter

F1le Man4ger