Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Side by Side Diff: third_party/libsecret/secret-value.h

Issue 1922563002: Created BUILD.gn for libsecret (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected source set Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/libsecret/secret-types.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* libsecret - GLib wrapper for Secret Service
2 *
3 * Copyright 2011 Collabora Ltd.
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_VALUE_H__
20 #define __SECRET_VALUE_H__
21
22 #include <gio/gio.h>
23
24 #include "secret-types.h"
25
26 G_BEGIN_DECLS
27
28 typedef struct _SecretValue SecretValue;
29
30 #define SECRET_TYPE_VALUE (secret_value_get_type ())
31
32 GType secret_value_get_type (void) G_GNUC_CONST;
33
34 SecretValue * secret_value_new (const gchar *secret,
35 gssize length,
36 const gchar *content_type);
37
38 SecretValue * secret_value_new_full (gchar *secret,
39 gssize length,
40 const gchar *content_type,
41 GDestroyNotify destroy);
42
43 const gchar * secret_value_get (SecretValue *value,
44 gsize *length);
45
46 const gchar * secret_value_get_text (SecretValue *value);
47
48 const gchar * secret_value_get_content_type (SecretValue *value);
49
50 SecretValue * secret_value_ref (SecretValue *value);
51
52 void secret_value_unref (gpointer value);
53
54 G_END_DECLS
55
56 #endif /* __SECRET_VALUE_H___ */
OLDNEW
« no previous file with comments | « third_party/libsecret/secret-types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698