/usr/include/ykneomgr/ykneomgr-types.h is in libykneomgr-dev 0.1.6-2.
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 | /*
* Copyright (C) 2013-2014 Yubico AB
*
* 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 3 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 YKNEOMGR_TYPES_H
#define YKNEOMGR_TYPES_H
/**
* ykneomgr_rc:
* @YKNEOMGR_OK: Success.
* @YKNEOMGR_MEMORY_ERROR: Memory error.
* @YKNEOMGR_NO_DEVICE: No device found.
* @YKNEOMGR_TOO_MANY_DEVICES: Too many devices found.
* @YKNEOMGR_BACKEND_ERROR: Input/Output error.
*
* Error codes.
*/
typedef enum
{
YKNEOMGR_OK = 0,
YKNEOMGR_MEMORY_ERROR = -1,
YKNEOMGR_NO_DEVICE = -2,
YKNEOMGR_TOO_MANY_DEVICES = -3,
YKNEOMGR_BACKEND_ERROR = -4,
} ykneomgr_rc;
/**
* ykneomgr_initflags:
* @YKNEOMGR_DEBUG: Print debug messages.
*
* Flags passed to ykneomgr_global_init().
*/
typedef enum
{
YKNEOMGR_DEBUG = 1
} ykneomgr_initflags;
typedef struct ykneomgr_dev ykneomgr_dev;
#endif
|