1 /* pinentry-curses.h - A secure curses dialog for PIN entry, library version 2 * Copyright (C) 2002 g10 Code GmbH 3 * 4 * This file is part of PINENTRY. 5 * 6 * PINENTRY is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 9 * (at your option) any later version. 10 * 11 * PINENTRY 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 * General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with this program; if not, see <http://www.gnu.org/licenses/>. 18 * SPDX-License-Identifier: GPL-2.0+ 19 */ 20 #ifndef PINENTRY_CURSES_H 21 #define PINENTRY_CURSES_H 22 23 #include "pinentry.h" 24 25 #ifdef __cplusplus 26 extern "C" { 27 #endif 28 29 int curses_cmd_handler (pinentry_t pinentry); 30 31 #ifdef __cplusplus 32 } 33 #endif 34 35 #endif /* PINENTRY_CURSES_H */ 36