Main Page   Compound List   File List   Compound Members   File Members  

lib/gobj/idmgr.h File Reference

Id manager routines header. More...

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

Functions

int Gj_idmgr_new (Gj_Ctx* ctx)
 Create a new id manager. More...

void Gj_idmgr_delete (Gj_Ctx* ctx)
 Delete the id manager.

int Gj_idmgr_createId (Gj_Ctx* ctx, Gj_Id* id)
 Create a new world-wide unique id. More...

int Gj_idmgr_createLocalId (Gj_Ctx* ctx, Gj_Id* id)
 Create a new local-unique id. More...

int Gj_idmgr_getSysid (Gj_Ctx* ctx, Gj_Sysid* sysid)
 Get the system id. More...


Detailed Description

Id manager routines header.


Function Documentation

int Gj_idmgr_new ( Gj_Ctx * ctx )
 

Create a new id manager.

Returns:
0 on success, -1 otherwise.

int Gj_idmgr_createId ( Gj_Ctx * ctx,
Gj_Id * id )
 

Create a new world-wide unique id.

Returns:
0 on success, -1 otherwise.

int Gj_idmgr_createLocalId ( Gj_Ctx * ctx,
Gj_Id * id )
 

Create a new local-unique id.

Returns:
0 on success, -1 otherwise.

int Gj_idmgr_getSysid ( Gj_Ctx * ctx,
Gj_Sysid * sysid )
 

Get the system id.

Returns:
0 on success, -1 otherwise.


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