mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
2cc0602c12
* new file: projects/gnome.org/libsecret/package.yml new file: projects/gnome.org/libsecret/test.c * gtk * +google.com/googletest * env
24 lines
No EOL
552 B
C
24 lines
No EOL
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;
|
|
} |