#include <gobjconfig.h>
#include <gobj/decls.h>
#include <gobj/context.h>
#include <gobj/container.h>
Functions | |
void | Gj_containermgr_new (Gj_Ctx* ctx) |
Create a new container manager. | |
int | Gj_containermgr_delete (Gj_Ctx* ctx) |
Delete the container manager. More... | |
int | Gj_containermgr_openContainerById (Gj_Ctx* ctx, Gj_Id* id) |
Open the container specified by its id . More... | |
int | Gj_containermgr_openContainerByName (Gj_Ctx* ctx, char* name) |
Open the container specified by its name. More... | |
int | Gj_containermgr_closeContainer (Gj_Ctx* ctx) |
Close the actual container. More... | |
Gj_ContainerId | Gj_containermgr_getNewId (Gj_Ctx* ctx) |
Get a new container id. More... | |
int | Gj_containermgr_releaseId (Gj_Ctx* ctx, Gj_ContainerId id) |
Release a container id and thus destroy the data linked with it. More... | |
Gj_Stream* | Gj_containermgr_getStream (Gj_Ctx* ctx, Gj_ContainerId id) |
Ask for a stream to do I/O on a given container id. More... | |
int | Gj_containermgr_releaseStream (Gj_Ctx* ctx, Gj_ContainerId id, Gj_Stream* stream) |
Release a used stream. More... | |
Gj_Container* | Gj_containermgr_getContainer (Gj_Ctx* ctx) |
Get the actual container. More... |
|
Delete the container manager.
|
|
Open the container specified by its id .
|
|
Open the container specified by its name.
|
|
Close the actual container.
|
|
Get a new container id.
|
|
Release a container id and thus destroy the data linked with it.
|
|
Ask for a stream to do I/O on a given container id.
|
|
Release a used stream.
|
|
Get the actual container. The returned pointer is STILL OWNED by the containermanager and should be considered deleted after the container has been closed via the containermgr. |