pantry/projects/gnome.org/libsecret/test.c
Andrew 2cc0602c12
gnome.org/libsecret (#3955)
* new file:   projects/gnome.org/libsecret/package.yml
	new file:   projects/gnome.org/libsecret/test.c

* gtk

* +google.com/googletest

* env
2023-11-04 15:42:37 -04:00

24 lines
552 B
C

#include <libsecret/secret.h>
const SecretSchema * example_get_schema (void) G_GNUC_CONST;
const SecretSchema *
example_get_schema (void)
{
static const SecretSchema the_schema = {
"org.example.Password", SECRET_SCHEMA_NONE,
{
{ "number", SECRET_SCHEMA_ATTRIBUTE_INTEGER },
{ "string", SECRET_SCHEMA_ATTRIBUTE_STRING },
{ "even", SECRET_SCHEMA_ATTRIBUTE_BOOLEAN },
{ "NULL", 0 },
}
};
return &the_schema;
}
int main()
{
example_get_schema();
return 0;
}