service_resolver_64: Correctly check all the bytes of the service code.
[chromium-blink-merge.git] / third_party / libsecret / secret-attributes.h
blob43e603561e4539a1a66cb634e890dec8675b77f5
1 /* libsecret - GLib wrapper for Secret Service
3 * Copyright 2012 Red Hat Inc.
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.
10 * See the included COPYING file for more information.
12 * Author: Stef Walter <stefw@gnome.org>
15 #if !defined (__SECRET_INSIDE_HEADER__) && !defined (SECRET_COMPILATION)
16 #error "Only <libsecret/secret.h> can be included directly."
17 #endif
19 #ifndef __SECRET_ATTRIBUTES_H__
20 #define __SECRET_ATTRIBUTES_H__
22 #include <glib.h>
23 #include <stdarg.h>
25 #include "secret-schema.h"
27 G_BEGIN_DECLS
29 GHashTable * secret_attributes_build (const SecretSchema *schema,
30 ...);
32 GHashTable * secret_attributes_buildv (const SecretSchema *schema,
33 va_list va);
36 G_END_DECLS
38 #endif /* __SECRET_ATTRIBUTES_H___ */