Libkleo

scdaemon.h
1 /*
2  utils/scdaemon.h
3 
4  This file is part of libkleopatra
5  SPDX-FileCopyrightText: 2021 g10 Code GmbH
6  SPDX-FileContributor: Ingo Klöcker <dev@ingo-kloecker.de>
7 
8  SPDX-License-Identifier: GPL-2.0-or-later
9 */
10 
11 #pragma once
12 
13 #include "kleo_export.h"
14 
15 #include <string>
16 #include <vector>
17 
18 namespace GpgME
19 {
20 class Error;
21 }
22 
23 namespace Kleo
24 {
25 /** This namespace collects higher-level functions for retrieving information
26  * from the GnuPG smart card daemon. */
27 namespace SCDaemon
28 {
29 
30 /** Returns the list of available smart card readers. If an error occurred,
31  * then @p err provides details.
32  * The returned strings are mostly useful for configuring the reader to use
33  * via the reader-port option of scdaemon.
34  */
35 KLEO_EXPORT std::vector<std::string> getReaders(GpgME::Error &err);
36 
37 }
38 }
KLEO_EXPORT std::vector< std::string > getReaders(GpgME::Error &err)
Returns the list of available smart card readers.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Feb 15 2024 03:56:14 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.