/usr/include/ncarg/ctrans.h is in libncarg-dev 6.1.2-7.
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 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 | /*
* $Id: ctrans.h,v 1.9 2008-07-27 03:22:39 haley Exp $
*/
/************************************************************************
* *
* Copyright (C) 1993 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
* The use of this Software is governed by a License Agreement. *
* *
************************************************************************/
/*
* File: ctrans.h
*
* Author: John Clyne
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Fri Jul 10 11:22:23 MDT 1992
*
* Description: header file for ctrans.c
*/
#include <ncarg/c.h>
#include <ncarg/cgm_tools.h>
#ifndef _ctrans_
#define _ctrans_
typedef enum {
FATAL = -2,
WARN = -1,
EOM = 0,
OK = 1
} CtransRC;
#define EOM 0 /* End of Metafile */
/* This macro protects C function names from C++ name-mangling. */
NCARG_PROTO_BEGIN
extern CtransRC init_ctrans(
#ifdef NeedFuncProto
int *argc,
char **argv,
const char *gcap,
const char *fcap,
boolean batch
#endif
);
extern CtransRC init_metafile(
#ifdef NeedFuncProto
int record,
Cgm_fd cgm_fd
#endif
);
extern void close_metafile(
#ifdef NeedFuncProto
#endif
);
extern CtransRC ctrans(
#ifdef NeedFuncProto
int record
#endif
);
extern CtransRC ctrans_merge(
#ifdef NeedFuncProto
int record1,
int record2
#endif
);
extern CtransRC SetDevice(
#ifdef NeedFuncProto
const char *gcap
#endif
);
extern CtransRC SetFont(
#ifdef NeedFuncProto
const char *fcap
#endif
);
extern void SetDefaultPalette(
#ifdef NeedFuncProto
const char *pal_fname
#endif
);
extern void GraphicsMode(
#ifdef NeedFuncProto
boolean on
#endif
);
extern void close_ctrans(
#ifdef NeedFuncProto
#endif
);
extern char *getGcapname(
#ifdef NeedFuncProto
const char *gcap
#endif
);
extern char *getFcapname(
#ifdef NeedFuncProto
const char* fcap
#endif
);
extern boolean IsOutputToTty(
#ifdef NeedFuncProto
#endif
);
extern char *ReadCtransMsg(
#ifdef NeedFuncProto
#endif
);
extern void CtransClear(
#ifdef NeedFuncProto
#endif
);
/*
**
** yet another ctrans programming interface.
**
*/
extern CtransRC CtransOpenBatch(
#ifdef NeedFuncProto
const char *device_name,
const char *font_name,
const char *metafile,
int *dev_argc,
char **dev_argv
#endif
);
extern CtransRC CtransSetMetafile(
#ifdef NeedFuncProto
const char *metafile
#endif
);
extern CtransRC CtransPlotFrame(
#ifdef NeedFuncProto
#endif
);
extern CtransRC CtransClearDisplay(
#ifdef NeedFuncProto
#endif
);
void CtransCloseBatch(
#ifdef NeedFuncProto
#endif
);
extern CtransRC CtransLSeekBatch(
#ifdef NeedFuncProto
unsigned offset,
unsigned whence
#endif
);
void CtransGraphicsMode(
#ifdef NeedFuncProto
boolean on
#endif
);
#ifdef DEAD
extern int CtransGetErrorNumber(
#ifdef NeedFuncProto
#endif
);
#endif
extern const char *CtransGetErrorMessage(
#ifdef NeedFuncProto
#endif
);
NCARG_PROTO_END
#endif
|