[DGD] zlib, mccp and dgd

Felix A. Croes felix at dworkin.nl
Wed Sep 19 20:53:46 CEST 2007


Shentino <shentino at gmail.com> wrote:

> ...just like something else...lol.
>
> A small question on the extension interface:
>
> It seems like "register_kfuns" can only be called once during driver
> boot.  If that's true, then how do multiple "packages" cooperate in
> adding their kfuns without stomping on each other?

It works the other way around.  Define the preprocessor symbol
DGD_EXTENSION during compilation, and the driver will call
extension_init() at boot time.  Whether that function will call
not only zlib_extension_init() but also foobar_extension_init()
is up to package writers, or to whoever creates his own package
mix.

Regards,
Dworkin



More information about the DGD mailing list