Public Methods
Public Members
lilo.conf file memory representation base class
liloFile (string filename)
| liloFile |
does nothing but sets the path to lilo.conf file
loads and parses the file. returns false on failure
bool save (const char* filename=NULL)
| save |
saves the memory structure to disk. returns false on failure
discards changes and reread the lilo.conf file again
dumps debug info to file
liloSection* getSectPtr (const YCPPath& path)
| getSectPtr |
returns pointer to section that coresponds with the path and section name
(eg. for .lilo.image, "vmlinuz" returns pointer to section from imageSections
that matches the "vmlinuz" section name)
YCPValue Write (const YCPPath &path, const YCPValue& value, const YCPValue& arg)
| Write |
writing to internal datastructure / writing structure to file
YCPValue Read (const YCPPath &path, const YCPValue& arg)
| Read |
reading from internal data structure
YCPValue Dir (const YCPPath& path)
| Dir |
Dir from internal data structure
vector<liloSection*>* getVectByName (const YCPPath& path)
| getVectByName |
returns corresponding section vector from the given path
int getSectPos (string sectname)
| getSectPos |
returns position in of section given section name and section's vector
| Generated by: root on D63 on Tue Sep 24 20:20:08 2002, using kdoc 2.0a54. |