'Extract entries from the xinetd config files.'

def _ProcessEntries(self, fd):

    parser = config_file.KeyValueParser(kv_sep='{', term='}', sep=None)
    data = fd.read(100000)
    entries = parser.ParseEntries(data)
    for entry in entries:
        for (section, cfg) in entry.items():
            if cfg:
                cfg = cfg[0].strip()
            else:
                cfg = ''
            self._ParseSection(section, cfg)
