class inifile :?spec:specification -> string ->object..end
send the name of an ini file to the constructor the file must exist, but can be empty
method getval : string -> string -> stringget a value from the config object raise Invalid_section, or invalid_element on error. getval section element
method getaval : string -> string -> string listget a value from the config object. return a list of all the objects bindings. If the key is listed on more than one line it will get n bindings, where n is the number of lines it is mentioned on. raise Invalid_section, or invalid_element on error. getaval section element
method setval : string -> string -> string -> unitset a value in the config create a new section, and or element if necessary. setval section element
method delval : string -> string -> unitdelete the topmost binding (the one returned by getval) from the section sec. Possibly exposeing another binding. raise Invalid_section on error. delval sec elt
method save : ?file:string -> unit -> unitsave the changes you have made optionally save to a different file
method iter : (string -> string -> unit) -> string -> unititerates across a section. passes all key valu pairs to f exactly once.
method sects : string listreturns a list of all sections in the file
method attrs : string -> string listreturn all the attibutes of a section