Add SECRET_SCHEMA_NOTE
authorStef Walter <stefw@gnome.org>
Mon, 25 Jun 2012 12:12:00 +0000 (14:12 +0200)
committerStef Walter <stefw@gnome.org>
Wed, 27 Jun 2012 05:42:57 +0000 (07:42 +0200)
 * A real simple schema for stuff stored by the user.
 * No attributes

library/secret-schemas.c
library/secret-schemas.h

index 98fb3a5..5f10a1a 100644 (file)
 
 #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 = {
        "org.gnome.keyring.NetworkPassword",
        SECRET_SCHEMA_DONT_MATCH_NAME,
index 44ee58b..82c5b28 100644 (file)
 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
  * password functions.
  */