/usr/lib/emboss/include/ajdefine.h is in emboss-lib 6.3.1-6ubuntu3.
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 | #ifdef __cplusplus
extern "C"
{
#endif
#ifndef ajdefine_h
#define ajdefine_h
#include "ajarch.h"
#ifndef WIN32
#define SLASH_CHAR '/'
#define SLASH_STRING "/"
#define CURRENT_DIR "./"
#define UP_DIR "../"
#define PATH_SEPARATOR ":"
#else
#define SLASH_CHAR '\\'
#define SLASH_STRING "\\"
#define CURRENT_DIR ".\\"
#define UP_DIR "..\\"
#define PATH_SEPARATOR ";"
#endif
typedef void fvoid_t(void); /* void function type */
enum capacity {default_size, reserve};
/* @datatype AjBool ***********************************************************
**
** Boolean data type
**
** Used to store true (ajTrue) and false (ajFalse) values.
**
** ajFalse is defined as zero, and the data type is equivalent to "ajint".
**
** For definitions, macros AJTRUE and AJFALSE are also defined.
**
** On output, conversion code "%b" writes "Y" or "N"
** while conversion code "%B" writes "Yes" or "No".
**
** @attr typedef [ajint] Value
** @@
******************************************************************************/
typedef ajint AjBool;
/* @datatype AjStatus *********************************************************
**
** Status code returned with bit fields.
**
** Intended as a general return code for functions, but currently unused
** because AjBool is enough. Indicates OK, info,
** warning, error and fatal returns
**
** @attr typedef [ajint] Value
** @@
******************************************************************************/
typedef ajint AjStatus;
/* @datatype AjEnum *********************************************************
**
** Undocumented
**
** @attr typedef [ajint] Value
** @@
******************************************************************************/
typedef ajint AjEnum;
/* @datatype AjMask *********************************************************
**
** Undocumented
**
** @attr typedef [ajint] Value
** @@
******************************************************************************/
typedef ajint AjMask;
/* @datatype AjInt4 *********************************************************
**
** 4 bytes integer
**
** @attr typedef [ajint] Value
** @@
******************************************************************************/
typedef ajint AjInt4; /* 4 bytes integer */
/* @datatype AjIntArray *******************************************************
**
** Array of integers
**
** @attr typedef [ajint*] Value
** @@
******************************************************************************/
typedef ajint* AjIntArray;
/* @datatype AjFloatArray *****************************************************
**
** Array of floats
**
** @attr typedef [float*] Value
** @@
******************************************************************************/
typedef float* AjFloatArray;
#define AJAXLONGDOUBLE double
#define AJBOOL(b) (b ? "TRUE" : "FALSE")
#define AJFALSE 0
#define AJTRUE 1
#define ajFalse 0
#define ajTrue 1
#define CASE2(a,b) ((a << 8) + b)
#define CASE3(a,b,c) ((a << 16) + (b << 8) + c)
#define CASE4(a,b,c,d) ((a << 24) + (b << 16) + (c << 8) + d)
#define STRCASE2(a) ((a[0] << 8) + a[1])
#define ajXRAY 0 /* Structure was determined by X-ray crystallography */
#define ajNMR 1 /* Structure was determined by NMR or is a model */
#define ajPDB 0 /* Use original PDB residue numbering */
#define ajIDX 1 /* Use corrected residue numbering */
#define ajESCOP "Escop.dat" /* Scop data file */
#define ajSCOP 1 /* Type of domain */
#define ajCATH 2 /* Type of domain */
#define ajINTRA 1 /* Type of contact */
#define ajINTER 2 /* Type of contact */
#define ajLIGAND 3 /* Type of contact */
#define aj1D 1 /* Type of signature */
#define aj3D 2 /* Type of signature */
#define U_FEPS 1.192e-6F /* 1.0F + E_FEPS != 1.0F */
#define U_DEPS 2.22e-15 /* 1.0 + E_DEPS != 1.0 */
#define E_FPEQ(a,b,e) (((b - e) < a) && (a < (b + e)))
#define E_FPZERO(a,e) (fabs((double)a) <= (double) e)
#endif
#ifdef __cplusplus
}
#endif
|