1 | /* libsecret - GLib wrapper for Secret Service |
2 | * |
3 | * Copyright 2012 Red Hat Inc. |
4 | * |
5 | * This program is free software: you can redistribute it and/or modify |
6 | * it under the terms of the GNU Lesser General Public License as published |
7 | * by the Free Software Foundation; either version 2.1 of the licence or (at |
8 | * your option) any later version. |
9 | * |
10 | * See the included COPYING file for more information. |
11 | * |
12 | * Author: Stef Walter <stefw@gnome.org> |
13 | */ |
14 | |
15 | #if !defined (__SECRET_INSIDE_HEADER__) && !defined (SECRET_COMPILATION) |
16 | #error "Only <libsecret/secret.h> can be included directly." |
17 | #endif |
18 | |
19 | #ifndef __SECRET_ATTRIBUTES_H__ |
20 | #define __SECRET_ATTRIBUTES_H__ |
21 | |
22 | #include <glib.h> |
23 | #include <stdarg.h> |
24 | |
25 | #include "secret-schema.h" |
26 | |
27 | G_BEGIN_DECLS |
28 | |
29 | GHashTable * secret_attributes_build (const SecretSchema *schema, |
30 | ...); |
31 | |
32 | GHashTable * secret_attributes_buildv (const SecretSchema *schema, |
33 | va_list va); |
34 | |
35 | |
36 | G_END_DECLS |
37 | |
38 | #endif /* __SECRET_ATTRIBUTES_H___ */ |
39 | |