mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 12:48:51 +00:00
938640ae52
This is a ground work for adding a local storage backend. As SecretItem is derived from GDBusProxy, it cannot be simply exposed to the application through the secret_password_search() if the item is not backed by the DBus API. This adds an abstract interface representing a read-only view of a secret item for that purpose.
50 lines
1.5 KiB
C
50 lines
1.5 KiB
C
/* libsecret - GLib wrapper for Secret Service
|
|
*
|
|
* Copyright 2012 Red Hat Inc.
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Lesser General Public License as published
|
|
* by the Free Software Foundation; either version 2.1 of the licence or (at
|
|
* your option) any later version.
|
|
*
|
|
* See the included COPYING file for more information.
|
|
*
|
|
* Author: Stef Walter <stefw@gnome.org>
|
|
*/
|
|
|
|
#ifndef __SECRET_H__
|
|
#define __SECRET_H__
|
|
|
|
#include <glib.h>
|
|
|
|
#define __SECRET_INSIDE_HEADER__
|
|
|
|
#include <libsecret/secret-attributes.h>
|
|
#include <libsecret/secret-collection.h>
|
|
#include <libsecret/secret-enum-types.h>
|
|
#include <libsecret/secret-item.h>
|
|
#include <libsecret/secret-password.h>
|
|
#include <libsecret/secret-prompt.h>
|
|
#include <libsecret/secret-retrievable.h>
|
|
#include <libsecret/secret-schema.h>
|
|
#include <libsecret/secret-schemas.h>
|
|
#include <libsecret/secret-service.h>
|
|
#include <libsecret/secret-types.h>
|
|
#include <libsecret/secret-value.h>
|
|
#include <libsecret/secret-version.h>
|
|
|
|
/* SECRET_WITH_UNSTABLE is defined in the secret-unstable.pc pkg-config file */
|
|
#if defined(SECRET_WITH_UNSTABLE) || defined(SECRET_API_SUBJECT_TO_CHANGE)
|
|
|
|
#ifndef SECRET_API_SUBJECT_TO_CHANGE
|
|
#warning "Some parts of the libsecret API are unstable. Define SECRET_API_SUBJECT_TO_CHANGE to acknowledge"
|
|
#endif
|
|
|
|
#include <libsecret/secret-paths.h>
|
|
|
|
#endif /* SECRET_WITH_UNSTABLE || SECRET_API_SUBJECT_TO_CHANGE */
|
|
|
|
#undef __SECRET_INSIDE_HEADER__
|
|
|
|
#endif /* __SECRET_H__ */
|