lt_dlforeach replacement?

Zopolis0 <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <CAEYL+X9-Oy+-_kjbTAgOg37Ti7T-v-H1E1r+sbHNfzQno+NNQw@mail.gmail.com>
I'm trying to revive a project that used lt_dlforeach, which is now
deprecated.
What function should I use to replace it? The same question was asked
before, about the same code, but it was not answered.

This is the code I need to fix:
  lookup_data data;
  data.symname = symname;
  data.result = NULL;
  lt_dlforeach (find_symbol, (lt_ptr) &data);
  return data.result;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.