[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[dev-serveez] dynamic server loading
From: |
stefan |
Subject: |
[dev-serveez] dynamic server loading |
Date: |
Sun, 21 Jan 2001 18:08:33 +0100 (CET) |
hello serveez friends,
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 "libq3key.so" (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 ?
address@hidden
--
-- It's extremely painful to know that to eat I must play Mother
-- Culture's game. I WANT OUT.
--
- [dev-serveez] dynamic server loading,
stefan <=