Debian Codegraph @

pkcs11/secret-store/gkm-secret-search.h

raw
1 /*
2 * gnome-keyring
3 *
4 * Copyright (C) 2009 Stefan Walter
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as
8 * published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this program; if not, see
18 * <http://www.gnu.org/licenses/>.
19 */
20
21 #ifndef __GKM_SECRET_SEARCH_H__
22 #define __GKM_SECRET_SEARCH_H__
23
24 #include "gkm-secret-types.h"
25
26 #include "gkm/gkm-object.h"
27
28 #include <glib-object.h>
29
30 #define GKM_FACTORY_SECRET_SEARCH (gkm_secret_search_get_factory ())
31
32 #define GKM_TYPE_SECRET_SEARCH (gkm_secret_search_get_type ())
33 #define GKM_SECRET_SEARCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GKM_TYPE_SECRET_SEARCH, GkmSecretSearch))
34 #define GKM_SECRET_SEARCH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GKM_TYPE_SECRET_SEARCH, GkmSecretSearchClass))
35 #define GKM_IS_SECRET_SEARCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GKM_TYPE_SECRET_SEARCH))
36 #define GKM_IS_SECRET_SEARCH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GKM_TYPE_SECRET_SEARCH))
37 #define GKM_SECRET_SEARCH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GKM_TYPE_SECRET_SEARCH, GkmSecretSearchClass))
38
39 typedef struct _GkmSecretSearchClass GkmSecretSearchClass;
40
41 struct _GkmSecretSearchClass {
42 GkmObjectClass parent_class;
43 };
44
45 GType gkm_secret_search_get_type (void) G_GNUC_CONST;
46
47 GkmFactory* gkm_secret_search_get_factory (void) G_GNUC_CONST;
48
49 GHashTable* gkm_secret_search_get_fields (GkmSecretSearch *self);
50
51 const gchar* gkm_secret_search_get_collection_id (GkmSecretSearch *self);
52
53 const gchar * gkm_secret_search_get_schema_name (GkmSecretSearch *self);
54
55 #endif /* __GKM_SECRET_SEARCH_H__ */