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 98fb3a5542144f63ce5ecd36174deb39eb4b3a34..5f10a1ab1f23450634f135bfacb54aacae705954 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 44ee58bbd8a2da8ae0c7c0dc26e1714ae3b81923..82c5b2834aae1fbf2ffaa4e16a04bd0df7debef5 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.