Subject Re: [Firebird-general] Re: Firebird 1.0.3 - where can I get the source code?
Author Pavel Cisar
plinehan napsal(a):
>
> If I want to get the code for the embedded server (in my
> case, under Linux, but generally as well), how do
> I get it?
>
> I mean, I can get the code for the 2.1 or 1.5 server
> overall, but suppose I just want to get and compile the
> embedded server code - how would I go about doing that?
>
> Or is it flags during the compile process that tell
> the compiler where to look?

Well, generally speaking, the embedded you're looking for is Classic
server. It's available only for Linux. Windows Classic version was
introduced in 1.5, along with embedded version for Windows (which was
based on superserver in opposite on how it's delivered on POSIX).

The Classic server on POSIX is just a shared library (server+client).
When using local connection (no host specification in DSN) it works
directly in your application space (embedded). When using remote
connection it calls the (x)inetd that invokes fb_inet_server, which is a
small shell application used as host for the server library.

It's very simplistic description, but should give you a start.

best regards
Pavel Cisar
IBPhoenix