Add SECRET_SCHEMA_NOTE

* A real simple schema for stuff stored by the user.
 * No attributes
This commit is contained in:
Stef Walter 2012-06-25 14:12:00 +02:00
parent 8e68f748c3
commit 1e697f6796
2 changed files with 16 additions and 0 deletions

View File

@ -16,6 +16,17 @@
#include "secret-schema.h" #include "secret-schema.h"
static const SecretSchema note_schema = {
"org.gnome.keyring.Note",
SECRET_SCHEMA_DONT_MATCH_NAME,
{
{ "NULL", 0 },
}
};
const SecretSchema * SECRET_SCHEMA_NOTE = &note_schema;
static const SecretSchema network_schema = { static const SecretSchema network_schema = {
"org.gnome.keyring.NetworkPassword", "org.gnome.keyring.NetworkPassword",
SECRET_SCHEMA_DONT_MATCH_NAME, SECRET_SCHEMA_DONT_MATCH_NAME,

View File

@ -25,6 +25,11 @@
G_BEGIN_DECLS G_BEGIN_DECLS
/*
* A note or password stored manually by the user.
*/
extern const SecretSchema * SECRET_SCHEMA_NOTE;
/* /*
* This schema is here for compatibility with libgnome-keyring's network * This schema is here for compatibility with libgnome-keyring's network
* password functions. * password functions.