/usr/include/memchanDecls.h is in tcl-memchan-dev 2.3+dfsg-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 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 | /* memchanDecls.h - Copyright (C) 2004 Pat Thoyts <patthoyts@users.sf.net>
*
* The contents of this file are automatically generated by
* genStubs.tcl from the memchan.decls file.
*
*/
#ifndef _memchanDecls_h_INCLUDE
#define _memchanDecls_h_INCLUDE
/* !BEGIN!: Do not edit below this line. */
/*
* Exported function declarations:
*/
/* 0 */
EXTERN int Memchan_Init _ANSI_ARGS_((Tcl_Interp * interp));
/* 1 */
EXTERN int Memchan_SafeInit _ANSI_ARGS_((Tcl_Interp * interp));
/* 2 */
EXTERN Tcl_Channel Memchan_CreateMemoryChannel _ANSI_ARGS_((
Tcl_Interp * interp, int initialSize));
/* 3 */
EXTERN Tcl_Channel Memchan_CreateFifoChannel _ANSI_ARGS_((
Tcl_Interp * interp));
/* 4 */
EXTERN void Memchan_CreateFifo2Channel _ANSI_ARGS_((
Tcl_Interp * interp, Tcl_Channel * aPtr,
Tcl_Channel * bPtr));
/* 5 */
EXTERN Tcl_Channel Memchan_CreateZeroChannel _ANSI_ARGS_((
Tcl_Interp * interp));
/* 6 */
EXTERN Tcl_Channel Memchan_CreateNullChannel _ANSI_ARGS_((
Tcl_Interp * interp));
/* 7 */
EXTERN Tcl_Channel Memchan_CreateRandomChannel _ANSI_ARGS_((
Tcl_Interp * interp));
typedef struct MemchanStubs {
int magic;
struct MemchanStubHooks *hooks;
int (*memchan_Init) _ANSI_ARGS_((Tcl_Interp * interp)); /* 0 */
int (*memchan_SafeInit) _ANSI_ARGS_((Tcl_Interp * interp)); /* 1 */
Tcl_Channel (*memchan_CreateMemoryChannel) _ANSI_ARGS_((Tcl_Interp * interp, int initialSize)); /* 2 */
Tcl_Channel (*memchan_CreateFifoChannel) _ANSI_ARGS_((Tcl_Interp * interp)); /* 3 */
void (*memchan_CreateFifo2Channel) _ANSI_ARGS_((Tcl_Interp * interp, Tcl_Channel * aPtr, Tcl_Channel * bPtr)); /* 4 */
Tcl_Channel (*memchan_CreateZeroChannel) _ANSI_ARGS_((Tcl_Interp * interp)); /* 5 */
Tcl_Channel (*memchan_CreateNullChannel) _ANSI_ARGS_((Tcl_Interp * interp)); /* 6 */
Tcl_Channel (*memchan_CreateRandomChannel) _ANSI_ARGS_((Tcl_Interp * interp)); /* 7 */
} MemchanStubs;
#ifdef __cplusplus
extern "C" {
#endif
extern MemchanStubs *memchanStubsPtr;
#ifdef __cplusplus
}
#endif
#if defined(USE_MEMCHAN_STUBS) && !defined(USE_MEMCHAN_STUB_PROCS)
/*
* Inline function declarations:
*/
#ifndef Memchan_Init
#define Memchan_Init \
(memchanStubsPtr->memchan_Init) /* 0 */
#endif
#ifndef Memchan_SafeInit
#define Memchan_SafeInit \
(memchanStubsPtr->memchan_SafeInit) /* 1 */
#endif
#ifndef Memchan_CreateMemoryChannel
#define Memchan_CreateMemoryChannel \
(memchanStubsPtr->memchan_CreateMemoryChannel) /* 2 */
#endif
#ifndef Memchan_CreateFifoChannel
#define Memchan_CreateFifoChannel \
(memchanStubsPtr->memchan_CreateFifoChannel) /* 3 */
#endif
#ifndef Memchan_CreateFifo2Channel
#define Memchan_CreateFifo2Channel \
(memchanStubsPtr->memchan_CreateFifo2Channel) /* 4 */
#endif
#ifndef Memchan_CreateZeroChannel
#define Memchan_CreateZeroChannel \
(memchanStubsPtr->memchan_CreateZeroChannel) /* 5 */
#endif
#ifndef Memchan_CreateNullChannel
#define Memchan_CreateNullChannel \
(memchanStubsPtr->memchan_CreateNullChannel) /* 6 */
#endif
#ifndef Memchan_CreateRandomChannel
#define Memchan_CreateRandomChannel \
(memchanStubsPtr->memchan_CreateRandomChannel) /* 7 */
#endif
#endif /* defined(USE_MEMCHAN_STUBS) && !defined(USE_MEMCHAN_STUB_PROCS) */
/* !END!: Do not edit above this line. */
#endif /* _memchanDecls_h_INCLUDE */
|