name of config_open/config_close

Maik Hentsche <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
Hi,
I started to write a prelude plugin for specter [1], a logging daemon
for the iptables ulog target. This plugin is included into specter with
dlopen and links libprelude (0.9.10) with ld -lprelude. Specter has a
function named config_open and one config_close. Since this names are
used in libprelude/src/prelude-option.c in function process_cfg_file(),
the specter functions are used and not the ones defined in
libprelude/src/config-engine.c. Since these functions seem to be not
part of the API of the lib, I wonder, if it wasn't better, to use names
for them, that are less likely to collide with users of the lib (like
libprelude_config_open). I'm quite sure, this also applies to other
functions. At the moments, I configured libprelude with
CFLAGS='-Dconfig_open=libprelude_config_open
-Dconfig_close=libprelude_config_close', but this is hardly a solution
but rather a workaround.

I'd like to hear of your comments,

so long
Maik

P.S. When the plugin reached a useable state, will it be desired to post
it here?

[1] http://joker.linuxstuff.pl/specter/

_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
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.