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
18namespace GpgME
19{
20class Error;
21}
22
23namespace Kleo
24{
25/** This namespace collects higher-level functions for retrieving information
26 * from the GnuPG smart card daemon. */
27namespace 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 */
35KLEO_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 Fri Jun 14 2024 11:51:59 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.