/usr/include/trfDecls.h is in tcl-trf-dev 2.1.4-dfsg3-2+b1.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 | /*
* trfDecls.h --
*
* Declarations of functions in the platform independent public Trf API.
*
* Copyright (c) 1999 by Andreas Kupries <andreas_kupries@users.sourceforge.net>
*
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* RCS: @(#) $Id: trfDecls.h,v 1.2 1999/09/21 18:48:57 aku Exp $
*/
#ifndef _TRFDECLS
#define _TRFDECLS
/*
* WARNING: This file is automatically generated by the tools/genStubs.tcl
* script. Any modifications to the function declarations below should be made
* in the generic/trf.decls script.
*/
/* !BEGIN!: Do not edit below this line. */
/*
* Exported function declarations:
*/
/* 0 */
EXTERN int Trf_IsInitialized _ANSI_ARGS_((Tcl_Interp * interp));
/* 1 */
EXTERN int Trf_Register _ANSI_ARGS_((Tcl_Interp * interp,
CONST Trf_TypeDefinition * type));
/* 2 */
EXTERN Trf_OptionVectors* Trf_ConverterOptions _ANSI_ARGS_((void));
/* 3 */
EXTERN int Trf_LoadLibrary _ANSI_ARGS_((Tcl_Interp * interp,
CONST char * libName, VOID ** handlePtr,
char ** symbols, int num));
/* 4 */
EXTERN void Trf_LoadFailed _ANSI_ARGS_((VOID** handlePtr));
/* 5 */
EXTERN int Trf_RegisterMessageDigest _ANSI_ARGS_((
Tcl_Interp* interp,
CONST Trf_MessageDigestDescription* md_desc));
/* 6 */
EXTERN void Trf_XorBuffer _ANSI_ARGS_((VOID* buffer, VOID* mask,
int length));
/* 7 */
EXTERN void Trf_ShiftRegister _ANSI_ARGS_((VOID* buffer,
VOID* in, int shift, int buffer_length));
/* 8 */
EXTERN void Trf_FlipRegisterLong _ANSI_ARGS_((VOID* buffer,
int length));
/* 9 */
EXTERN void Trf_FlipRegisterShort _ANSI_ARGS_((VOID* buffer,
int length));
typedef struct TrfStubHooks {
struct TrfIntStubs *trfIntStubs;
} TrfStubHooks;
typedef struct TrfStubs {
int magic;
struct TrfStubHooks *hooks;
int (*trf_IsInitialized) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */
int (*trf_Register) _ANSI_ARGS_((Tcl_Interp * interp, CONST Trf_TypeDefinition * type)); /* 1 */
Trf_OptionVectors* (*trf_ConverterOptions) _ANSI_ARGS_((void)); /* 2 */
int (*trf_LoadLibrary) _ANSI_ARGS_((Tcl_Interp * interp, CONST char * libName, VOID ** handlePtr, char ** symbols, int num)); /* 3 */
void (*trf_LoadFailed) _ANSI_ARGS_((VOID** handlePtr)); /* 4 */
int (*trf_RegisterMessageDigest) _ANSI_ARGS_((Tcl_Interp* interp, CONST Trf_MessageDigestDescription* md_desc)); /* 5 */
void (*trf_XorBuffer) _ANSI_ARGS_((VOID* buffer, VOID* mask, int length)); /* 6 */
void (*trf_ShiftRegister) _ANSI_ARGS_((VOID* buffer, VOID* in, int shift, int buffer_length)); /* 7 */
void (*trf_FlipRegisterLong) _ANSI_ARGS_((VOID* buffer, int length)); /* 8 */
void (*trf_FlipRegisterShort) _ANSI_ARGS_((VOID* buffer, int length)); /* 9 */
} TrfStubs;
#ifdef __cplusplus
extern "C" {
#endif
extern TrfStubs *trfStubsPtr;
#ifdef __cplusplus
}
#endif
#if defined(USE_TRF_STUBS) && !defined(USE_TRF_STUB_PROCS)
/*
* Inline function declarations:
*/
#ifndef Trf_IsInitialized
#define Trf_IsInitialized \
(trfStubsPtr->trf_IsInitialized) /* 0 */
#endif
#ifndef Trf_Register
#define Trf_Register \
(trfStubsPtr->trf_Register) /* 1 */
#endif
#ifndef Trf_ConverterOptions
#define Trf_ConverterOptions \
(trfStubsPtr->trf_ConverterOptions) /* 2 */
#endif
#ifndef Trf_LoadLibrary
#define Trf_LoadLibrary \
(trfStubsPtr->trf_LoadLibrary) /* 3 */
#endif
#ifndef Trf_LoadFailed
#define Trf_LoadFailed \
(trfStubsPtr->trf_LoadFailed) /* 4 */
#endif
#ifndef Trf_RegisterMessageDigest
#define Trf_RegisterMessageDigest \
(trfStubsPtr->trf_RegisterMessageDigest) /* 5 */
#endif
#ifndef Trf_XorBuffer
#define Trf_XorBuffer \
(trfStubsPtr->trf_XorBuffer) /* 6 */
#endif
#ifndef Trf_ShiftRegister
#define Trf_ShiftRegister \
(trfStubsPtr->trf_ShiftRegister) /* 7 */
#endif
#ifndef Trf_FlipRegisterLong
#define Trf_FlipRegisterLong \
(trfStubsPtr->trf_FlipRegisterLong) /* 8 */
#endif
#ifndef Trf_FlipRegisterShort
#define Trf_FlipRegisterShort \
(trfStubsPtr->trf_FlipRegisterShort) /* 9 */
#endif
#endif /* defined(USE_TRF_STUBS) && !defined(USE_TRF_STUB_PROCS) */
/* !END!: Do not edit above this line. */
#endif /* _TRFDECLS */
|