/usr/include/libchipcard5/chipcard/tlv.h is in libchipcard-dev 5.0.4-1.
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 55 56 57 | /***************************************************************************
begin : Sun Jun 13 2004
copyright : (C) 2004-2010 by Martin Preuss
email : martin@libchipcard.de
***************************************************************************
* Please see toplevel file COPYING for license details *
***************************************************************************/
#ifndef CHIPCARD_CLIENT_TLV_H
#define CHIPCARD_CLIENT_TLV_H
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/misc.h>
#include <chipcard/chipcard.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct LC_TLV LC_TLV;
GWEN_LIST_FUNCTION_LIB_DEFS(LC_TLV, LC_TLV, CHIPCARD_API)
CHIPCARD_API
LC_TLV *LC_TLV_new();
CHIPCARD_API
void LC_TLV_free(LC_TLV *tlv);
CHIPCARD_API
LC_TLV *LC_TLV_fromBuffer(GWEN_BUFFER *mbuf, int isBerTlv);
CHIPCARD_API
int LC_TLV_IsBerTlv(const LC_TLV *tlv);
CHIPCARD_API
unsigned int LC_TLV_GetTagType(const LC_TLV *tlv);
CHIPCARD_API
unsigned int LC_TLV_GetTagLength(const LC_TLV *tlv);
CHIPCARD_API
const void *LC_TLV_GetTagData(const LC_TLV *tlv);
CHIPCARD_API
int LC_TLV_IsContructed(const LC_TLV *tlv);
CHIPCARD_API
unsigned int LC_TLV_GetClass(const LC_TLV *tlv);
CHIPCARD_API
unsigned int LC_TLV_GetTagSize(const LC_TLV *tlv);
#ifdef __cplusplus
}
#endif
#endif /* CHIPCARD_CLIENT_TLV_H */
|