/usr/include/libcryptui/cryptui-keyset.h is in libcryptui-dev 3.12.2-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | /*
* Seahorse
*
* Copyright (C) 2005 Stefan Walter
*
* 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 License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __CRYPTUI_KEYSET_H__
#define __CRYPTUI_KEYSET_H__
#include <gtk/gtk.h>
typedef struct _CryptUIKeyset CryptUIKeyset;
typedef struct _CryptUIKeysetClass CryptUIKeysetClass;
typedef struct _CryptUIKeysetPrivate CryptUIKeysetPrivate;
struct _CryptUIKeyset {
GObject parent;
/*<private>*/
CryptUIKeysetPrivate *priv;
};
struct _CryptUIKeysetClass {
GObjectClass parent_class;
/* signals --------------------------------------------------------- */
/* A key was added to this view */
void (*added) (CryptUIKeyset *keyset, const gchar *key);
/* Removed a key from this view */
void (*removed) (CryptUIKeyset *keyset, const gchar *key, gpointer closure);
/* One of the key's attributes has changed */
void (*changed) (CryptUIKeyset *keyset, const gchar *key, gpointer closure);
};
/* Declarations needed before cryptui.h */
#include "cryptui.h"
#define CRYPTUI_TYPE_KEYSET (cryptui_keyset_get_type ())
#define CRYPTUI_KEYSET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CRYPTUI_TYPE_KEYSET, CryptUIKeyset))
#define CRYPTUI_KEYSET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CRYPTUI_TYPE_KEYSET, CryptUIKeysetClass))
#define CRYPTUI_IS_KEYSET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CRYPTUI_TYPE_KEYSET))
#define CRYPTUI_IS_KEYSET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CRYPTUI_TYPE_KEYSET))
#define CRYPTUI_KEYSET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CRYPTUI_TYPE_KEYSET, CryptUIKeysetClass))
GType cryptui_keyset_get_type (void);
CryptUIKeyset* cryptui_keyset_new (const gchar *keytype,
gboolean expand_keys);
gboolean cryptui_keyset_has_key (CryptUIKeyset *keyset,
const gchar *key);
const gchar* cryptui_keyset_get_keytype (CryptUIKeyset *keyset);
GList* cryptui_keyset_get_keys (CryptUIKeyset *keyset);
guint cryptui_keyset_get_count (CryptUIKeyset *keyset);
void cryptui_keyset_refresh (CryptUIKeyset *keyset);
gpointer cryptui_keyset_get_closure (CryptUIKeyset *keyset,
const gchar *key);
void cryptui_keyset_set_closure (CryptUIKeyset *keyset,
const gchar *key,
gpointer closure);
gboolean cryptui_keyset_get_expand_keys (CryptUIKeyset *keyset);
void cryptui_keyset_set_expand_keys (CryptUIKeyset *keyset,
gboolean expand_keys);
void cryptui_keyset_cache_key (CryptUIKeyset *keyset,
const gchar *key);
gchar* cryptui_keyset_key_get_string (CryptUIKeyset *keyset,
const gchar *key,
const gchar *prop);
guint cryptui_keyset_key_get_uint (CryptUIKeyset *keyset,
const gchar *key,
const gchar *prop);
guint cryptui_keyset_key_flags (CryptUIKeyset *keyset,
const gchar *key);
gchar* cryptui_keyset_key_display_name (CryptUIKeyset *keyset,
const gchar *key);
gchar* cryptui_keyset_key_display_id (CryptUIKeyset *keyset,
const gchar *key);
gchar* cryptui_keyset_key_raw_keyid (CryptUIKeyset *keyset,
const gchar *key);
gchar** cryptui_keyset_keys_raw_keyids (CryptUIKeyset *keyset,
const gchar **keys);
/* TODO: A way to change the key properties ve cache */
#endif /* __CRYPTUI_KEYSET_H__ */
|