Branch data Line data Source code
1 : : /* 2 : : * gnome-keyring 3 : : * 4 : : * Copyright (C) 2008 Stefan Walter 5 : : * Copyright (C) 2011 Collabora Ltd. 6 : : * 7 : : * This program is free software; you can redistribute it and/or modify 8 : : * it under the terms of the GNU Lesser General Public License as 9 : : * published by the Free Software Foundation; either version 2.1 of 10 : : * the License, or (at your option) any later version. 11 : : * 12 : : * This program is distributed in the hope that it will be useful, but 13 : : * WITHOUT ANY WARRANTY; without even the implied warranty of 14 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 : : * Lesser General Public License for more details. 16 : : * 17 : : * You should have received a copy of the GNU Lesser General Public 18 : : * License along with this program; if not, see <http://www.gnu.org/licenses/>. 19 : : * 20 : : * Author: Stef Walter <stefw@collabora.co.uk> 21 : : */ 22 : : 23 : : #ifndef __GCR_PKCS11_IMPORTER_H__ 24 : : #define __GCR_PKCS11_IMPORTER_H__ 25 : : 26 : : #include "gcr-importer.h" 27 : : 28 : : G_BEGIN_DECLS 29 : : 30 : : #define GCR_TYPE_PKCS11_IMPORTER (_gcr_pkcs11_importer_get_type ()) 31 [ # # # # : 0 : G_DECLARE_FINAL_TYPE (GcrPkcs11Importer, _gcr_pkcs11_importer, # # ] 32 : : GCR, PKCS11_IMPORTER, 33 : : GObject); 34 : : 35 : : GcrImporter * _gcr_pkcs11_importer_new (GckSlot *slot); 36 : : 37 : : void _gcr_pkcs11_importer_queue (GcrPkcs11Importer *self, 38 : : const gchar *label, 39 : : GckAttributes *attrs); 40 : : 41 : : GckSlot * _gcr_pkcs11_importer_get_slot (GcrPkcs11Importer *self); 42 : : 43 : : GList * _gcr_pkcs11_importer_get_queued (GcrPkcs11Importer *self); 44 : : 45 : : GList * _gcr_pkcs11_importer_get_imported (GcrPkcs11Importer *self); 46 : : 47 : : G_END_DECLS 48 : : 49 : : #endif /* __GCR_PKCS11_IMPORTER_H__ */