[Freeciv-Dev] Re: split server into library and main
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
What an eminently good idea. What about a .so version as well?
> -----Original Message-----
> From: freeciv-dev-bounce@xxxxxxxxxxx
> [mailto:freeciv-dev-bounce@xxxxxxxxxxx]On Behalf Of Jeff Mallatt
> Sent: 10 August 2000 19:34
> To: freeciv-dev@xxxxxxxxxxx
> Subject: [Freeciv-Dev] split server into library and main
>
>
> This patch splits the server code into two parts: most goes into a library
> (called libcivserver.a) and just the main() is left in civserver.c.
>
> This will allow people who want to write utilities that need access to
> server-side routines (like save-file saving and loading) to simply link
> against the library. Just need to call srv_init() before using any server
> routines.
>
|
|