Main Page   Compound List   File List   Compound Members   File Members  

lib/gobj/ifacemgr.h File Reference

IO interface manager. More...

#include <gobjconfig.h>
#include <gobj/context.h>
#include <gobj/iface.h>
#include <gobj/id.h>

Functions

void Gj_ifacemgr_new (Gj_Ctx* ctx)
 Create a new interface manager. More...

int Gj_ifacemgr_delete (Gj_Ctx* ctx)
 Delete the interface manager. More...

void Gj_ifacemgr_loadInternalIfaces (Gj_Ctx* ctx)
 Load the internal interfaces.

void Gj_ifacemgr_addIface (Gj_Ctx* ctx, Gj_IfaceFuncs* funcs)
 Add the given interface.

Gj_IfaceGj_ifacemgr_getIface (Gj_Ctx* ctx, Gj_Id* id)
 Get the corresponding interface pointer for an interface id. More...

void Gj_ifacemgr_releaseIface (Gj_Ctx* ctx, Gj_Iface* iface)
 Release an interface pointer.


Detailed Description

IO interface manager.


Function Documentation

void Gj_ifacemgr_new ( Gj_Ctx * ctx )
 

Create a new interface manager.

Parameters:
ctx   The context.

int Gj_ifacemgr_delete ( Gj_Ctx * ctx )
 

Delete the interface manager.

Returns:
0 on success, -1 otherwise.

Gj_Iface * Gj_ifacemgr_getIface ( Gj_Ctx * ctx,
Gj_Id * id )
 

Get the corresponding interface pointer for an interface id.

The returned pointer is STILL OWNED by the interface manager.

Returns:
The interface pointer on success, 0 otherwise.


Generated at Fri Aug 17 18:28:57 2001 for Gobj by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000