docs: def _ProcessEntries(self, fd):
      """Extract entries from the xinetd config files."""
      p = config_file.KeyValueParser(kv_sep="{", term="}", sep=None)
      data = utils.ReadFileBytesAsUnicode(fd)
      entries = p.ParseEntries(data)
      for entry in entries:
        for section, cfg in iteritems(entry):
          # The parser returns a list of configs. There will only be one.
          if cfg:
            cfg = cfg[0].strip()
          else:
            cfg = ""
          self._ParseSection(section, cfg)