#include <gobjconfig.h>
#include <gobj/context.h>
Functions | |
| int | Gj_router_new (Gj_Ctx* ctx) |
| Create a new router. | |
| int | Gj_router_restore (Gj_Ctx* ctx, Gj_ContainerId id) |
| Restore the router from a container. More... | |
| void | Gj_router_delete (Gj_Ctx* ctx) |
| Delete the router. | |
| int | Gj_router_save (Gj_Ctx* ctx, Gj_ContainerId id) |
| Save the router to a container. More... | |
| int | Gj_router_readTable (Gj_Ctx* ctx, Gj_Stream* stream) |
| Read the routing table from a stream. More... | |
| int | Gj_router_writeTable (Gj_Ctx* ctx, Gj_Stream* stream) |
| Write the current routing table to a stream. More... | |
| Gj_Comm* | Gj_router_route (Gj_Ctx* ctx, Gj_Sysid* sysid, Gj_CommParam* param) |
| Create a communication to the given system. More... | |
| void | Gj_router_addStaticRoute (Gj_Ctx* ctx, Gj_Sysid* sysid, Gj_Id* ifaceid, char* ifaceaddr) |
| Add a static route. More... | |
|
|
Restore the router from a container.
|
|
|
Save the router to a container.
|
|
|
Read the routing table from a stream.
|
|
|
Write the current routing table to a stream.
|
|
|
Create a communication to the given system.
|
|
|
Add a static route. All ids and strings are DUPLICATED. |
1.2.1 written by Dimitri van Heesch,
© 1997-2000