[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dev-serveez] dynamic server loading

From: Martin Grabmueller
Subject: Re: [dev-serveez] dynamic server loading
Date: Mon, 22 Jan 2001 18:01:22 +0100 (MET)

> From: stefan <address@hidden>
> Date: Sun, 21 Jan 2001 18:08:33 +0100 (CET)
>   i just committed two new files: `dynload.c' and `dynload.h'. there is
> just one function yet. you can call dyn_load ("q3key") in order to get
> "q3key_server_definition" out of "" (or libq3key.dll). thus we
> might parse the configuration file looking for servers and try loading a
> server module if there is no such "short name" of a server and add the
> result of dyn_load() to the all_server_definitions[] array.
>   is that a way to go ? if we do it like that you can write server modules
> using the libserveez (not yet created as you know) and load the module at
> runtime. what do you think about that ?

I think that is a nice solution.  It shrinks the size of the
executable, in the future we might reload modules during runtime and
it makes embedding easier.

Martin Grabmueller              address@hidden  address@hidden on EFnet

reply via email to

[Prev in Thread] Current Thread [Next in Thread]