#include <gobjconfig.h>
#include <gobj/decls.h>
#include <gobj/container.h>
Functions | |
| void | Gj_server_new (Gj_Ctx* ctx) |
| Create a new server. | |
| int | Gj_server_restore (Gj_Ctx* ctx, Gj_ContainerId id) |
| Restore the server from a container. More... | |
| void | Gj_server_delete (Gj_Ctx* ctx) |
| Delete the server. | |
| int | Gj_server_save (Gj_Ctx* ctx, Gj_ContainerId id) |
| Save the server to a container. More... | |
| int | Gj_server_readIfaces (Gj_Ctx* ctx, Gj_Stream* stream) |
| Read the interfaces from a stream. More... | |
| int | Gj_server_writeIfaces (Gj_Ctx* ctx, Gj_Stream* stream) |
| Write the interfaces to a stream. More... | |
| int | Gj_server_start (Gj_Ctx* ctx) |
| Start the server. More... | |
| void | Gj_server_stop (Gj_Ctx* ctx) |
| Stop the server. | |
| int | Gj_server_addIface (Gj_Ctx* ctx, Gj_Id* iface) |
| Add an interface to the server. More... | |
| int | Gj_server_removeIface (Gj_Ctx* ctx, Gj_Id* iface) |
| Remove an interface from the server. More... | |
| int | gj_server_serve (Gj_Ctx* ctx, Gj_Stream* stream) |
| The main server serving routine. More... | |
|
|
Restore the server from a container.
|
|
|
Save the server to a container.
|
|
|
Read the interfaces from a stream.
|
|
|
Write the interfaces to a stream.
|
|
|
Start the server.
|
|
|
Add an interface to the server.
|
|
|
Remove an interface from the server. If the server is running, it is stopped and then restarted.
|
|
|
The main server serving routine.
The
For internal use only. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000