#include "gobj/personamgr.h"
#include "gobj/stream.h"
Compounds | |
struct | gj_PersonaRecord_struct |
struct | Gj_Personamgr_struct |
Typedefs | |
typedef struct gj_PersonaRecord_struct | gj_PersonaRecord |
Persona record sturcture typedef. More... | |
Functions | |
void | Gj_personamgr_new (Gj_Ctx* ctx) |
Create a new persona manager. | |
int | Gj_personamgr_restore (Gj_Ctx* ctx, Gj_ContainerId id) |
Restore the persona manager from a container. More... | |
void | Gj_personamgr_delete (Gj_Ctx* ctx) |
Delete the persona manager. | |
int | Gj_personamgr_save (Gj_Ctx* ctx, Gj_ContainerId id) |
Save the persona manager to a container. More... | |
int | Gj_personamgr_readPersonas (Gj_Ctx* ctx, Gj_Stream* stream) |
Read personas from a stream. More... | |
int | Gj_personamgr_writePersonas (Gj_Ctx* ctx, Gj_Stream* stream) |
Write all personas to a given stream. More... | |
void | Gj_personamgr_addPersona (Gj_Ctx* ctx) |
Add the persona of the context to the personamgr. More... | |
int | Gj_personamgr_openPersona (Gj_Ctx* ctx, Gj_Id* id ) |
Open a persona (given by its id) and assign it to the given context. More... |
|
Persona record sturcture typedef.
For internal use only. |
|
Restore the persona manager from a container.
|
|
Save the persona manager to a container.
|
|
Read personas from a stream.
|
|
Write all personas to a given stream.
|
|
Add the persona of the context to the personamgr. The persona is NOT being DUPLICATED. |
|
Open a persona (given by its id) and assign it to the given context.
|