Functions | |
CST * | CST_open (const int readonly, unsigned char *password) |
Open default storage. | |
CST * | CST_open_file (const char *filename, const int readonly, unsigned char *password) |
Open local storage from file 'filename'. If file not exist then created. | |
int | CST_create_file (const char *filename, unsigned char *password) |
Create empty local storage in file 'filename'. | |
int | CST_save (CST *st) |
void | CST_free (CST *st) |
int | CST_last_error () |
int | CST_backup (CST *st, const char *filename, unsigned char *password) |
|
Backup local (file) storage.
|
|
Create empty local storage in file 'filename'. Only create file, not open it.
|
|
Free resources used by storage.
|
|
Last error code. If error then return last error code.
|
|
Open default storage. If find gconf key "/apps/osso/certman/filename" then open file use this value. Else open file "storage.cst". If file not exist then created. Libcst assumes that libglib2 has already been initialized. It is true for any Hildon or GTK+ applications, but you should call g_type_init() explicitly before any calls to CST_open() if you use minimalistic environment. include <glib-object.h> ... g_type_init(); CST * storage = CST_open(...); ...
|
|
Open local storage from file 'filename'. If file not exist then created.
|
|
Save storage.
|