Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] Re: split server into library and main
Home

[Freeciv-Dev] Re: split server into library and main

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Jeff Mallatt" <jjm@xxxxxxxxxxxx>, "Freeciv Development Mailing List" <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: split server into library and main
From: "SamBC" <sambc@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 10 Aug 2000 19:57:01 +0100
Reply-to: <sambc@xxxxxxxxxxxxxxxxxxx>

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.
>




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