This file is indexed.

/usr/include/ncbi/udvdef.h is in libvibrant6-dev 6.1.20120620-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
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
/*  $Id: udvdef.h,v 6.15 2000/07/08 20:43:55 vakatov Exp $
* ===========================================================================
*
*                            PUBLIC DOMAIN NOTICE
*            National Center for Biotechnology Information (NCBI)
*
*  This software/database is a "United States Government Work" under the
*  terms of the United States Copyright Act.  It was written as part of
*  the author's official duties as a United States Government employee and
*  thus cannot be copyrighted.  This software/database is freely available
*  to the public for use. The National Library of Medicine and the U.S.
*  Government do not place any restriction on its use or reproduction.
*  We would, however, appreciate having the NCBI and the author cited in
*  any work or product based on this material
*
*  Although all reasonable efforts have been taken to ensure the accuracy
*  and reliability of the software and data, the NLM and the U.S.
*  Government do not and cannot warrant the performance or results that
*  may be obtained by using this software or data. The NLM and the U.S.
*  Government disclaim all warranties, express or implied, including
*  warranties of performance, merchantability or fitness for any particular
*  purpose.
*
* ===========================================================================
*
* File Name:  udvdef.h
*
* Author:  Patrick Durand
*
* Version Creation Date:   07/09/99
*
* $Revision: 6.15 $
*
* File Description: this file is the companion of udviewer.h
*
* Modifications:
* --------------------------------------------------------------------------
* $Log: udvdef.h,v $
* Revision 6.15  2000/07/08 20:43:55  vakatov
* Get all "#include" out of the 'extern "C" { }' scope;  other cleanup...
*
* Revision 6.14  2000/07/05 18:42:17  hurwitz
* added split block function to DDV
*
* Revision 6.13  2000/04/13 13:57:33  durand
* allowed udv to display reverse complement sequence
*
* Revision 6.12  2000/04/10 20:58:43  hurwitz
* added GUI controls for DeleteBlock in DDE
*
* Revision 6.11  2000/04/05 20:52:35  hurwitz
* added GUI control for shifting left and right alignment boundaries
*
* Revision 6.10  2000/04/03 22:26:31  hurwitz
* can now shift a row with click and drag
*
* Revision 6.9  2000/03/28 21:03:14  hurwitz
* added gui control to re-order rows
*
* Revision 6.8  2000/01/05 21:07:50  durand
* update mouse click actions and DrawSequence function for a better use from ddv and cn3d
*
* Revision 6.7  1999/11/18 14:44:42  durand
* add UDVMapInfo data structure for the Entrez sequence viewer
*
* Revision 6.6  1999/11/03 13:45:34  durand
* add MS_ACTION_SELECT_FULL_SEQ define for DDV
*
* Revision 6.5  1999/10/02 15:11:09  durand
* update the code to be used by wwwudv
*
* Revision 6.4  1999/09/22 14:26:31  durand
* add fields for DDV mouse management
*
* Revision 6.3  1999/07/27 13:57:41  durand
* modify display type defines
*
* Revision 6.2  1999/07/27 13:08:53  durand
* add display type defines
*
* Revision 6.1  1999/07/09 13:54:55  durand
* this is a companion file of udviewer.h
*
*
*
* ==========================================================================
*/

#ifndef _UDVDEF_
#define _UDVDEF_

/*******************************************************************************

  INCLUDE SECTION 

*******************************************************************************/
#include <ncbi.h>

#ifdef __cplusplus
extern "C" {
#endif

/*******************************************************************************

	STRUCTURES

*******************************************************************************/
typedef union datablock {
        Pointer ptrvalue;
        Uint4   uintvalue;
} DataBlock, PNTR DataBlockPtr;

typedef struct udvmapinfo {/*use to build the image map of the Entrez viewer*/
	Int2  left;       /*RecT for the map location*/
	Int2  top;        /*note: I cannot use the Vibrant RecT because */
	Int2  right;      /*udvdef.h is in API and must be Vibrant free.*/
	Int2  bottom;
	Uint1     Type;  /*data type*/
	DataBlock data;  /*data itself*/
} UDVMapInfo, PNTR UDVMapInfoPtr;


/*******************************************************************************

  DEFINE SECTION 

*******************************************************************************/

	/*number of letter by block: default is ten-letter blocks*/
#define LETTER_BLOCK_WIDTH 10

	/*margins around the UnDViewer*/
#define VIEWER_HORZ_MARGIN 10
#define VIEWER_VERT_MARGIN 10

	/*Numerical scale */
#define SCALE_POS_LEFT 1	/*scale position*/
#define SCALE_POS_TOP  2
#define SCALE_POS_BOTH  3
#define SCALE_POS_NONE  4
#define SCALE_MAJOR_TICK_EVERY 10	/*position of the ticks*/
#define SCALE_MINOR_TICK_EVERY 5
#define SCALE_LETTER_COLOR (GetColorRGB(0,0,255))	/*scale colours*/
#define SCALE_MAJTICK_COLOR (GetColorRGB(0,0,0))
#define SCALE_MINTICK_COLOR (GetColorRGB(128,128,128))
#define SCALE_WIDTH_IF_LEFT 9 /*nb. of cxChar (see Font struct); used to
                                   the scale on the left*/

	/*Font*/	
#define FONT_DEF_COLOR (GetColorRGB(0,0,0))/*default font colour*/

	/*Panel*/	
#define PANEL_NAME_WIDTH 10 /*nb. of cxChar (see Font struct) MAX: 50 !!;
	                            used to put names pn the left on the UDV window*/

	/*Info Panel*/	
#define BUFFER_SIZE  255 /*nb. of cxChar for Info Buffer*/

	/*NA and AA color layout*/	
#define NA_A_LAYOUT	0
#define NA_G_LAYOUT	1
#define NA_C_LAYOUT	2
#define NA_T_LAYOUT	3
#define NA_U_LAYOUT	4
#define LAYOUT_UPPER_CASE	1
#define LAYOUT_LOWER_CASE	2
	
	/*Mouse actions*/
#define MS_ACTION_FEAT_NOTHING	  1 /*no action*/
#define MS_ACTION_FEAT_CURSOR	    2 /*double cursor for features*/
#define MS_ACTION_RESIZE_WIN	    3 /*resize cxName region*/	
#define MS_ACTION_SELECT_SEQ	    4 /*select letters on the sequence*/	
#define MS_ACTION_SELECT_FULL_SEQ 5 /*select full sequence*/
#define MS_ACTION_MOVE_ROW        6 /*change row order*/
#define MS_ACTION_SHIFT_ROW       7 /*shift row left/right*/
#define MS_ACTION_SHIFT_BOUNDARY  8 /*shift left/right boundary left/right*/
#define MS_ACTION_CREATE_BLOCK    9 /*create aligned block*/
#define MS_ACTION_SPLIT_BLOCK    10 /*split aligned block in 2*/

	/*************************************************************************

	  I defined _min_ & _max_ because I needed the test '>=' in both 
	  _max_ and _min_

	*************************************************************************/
#define _min_(a,b)        ((a)>=(b)?(b):(a))
#define _max_(a,b)        ((a)>=(b)?(a):(b))

	/*used to draw features*/
		/*     |===>......===>.....===>|   : a big arrow feature*/
#define FEATURE_START_BOX		1	/*used to draw big arrows*/
#define FEATURE_START_ARROW		2
#define FEATURE_START_ARROW_END	3
#define FEATURE_START_NOTHING	4
		/* /\/\/\/\   : a helix feature (2D structures)*/
#define DRAW_HELIX_DOWN		1  /*used to draw helix faeture*/
#define DRAW_HELIX_MIDDLE	2
#define DRAW_HELIX_UP		3
		/*  >------<  : a bond feature*/
#define BOND_RIGHT 1	/*used to draw a bond feature*/
#define BOND_LEFT  2
#define SZBUF_SIZE 250
	
	/*sequence buffer management ; depending on VScroll up/down*/
#define BUFFER_REPOP_VCRL_LUP	1   /*line up*/
#define BUFFER_REPOP_VCRL_LDN	2   /*line down*/
#define BUFFER_REPOP_VCRL_PUP	3   /*page up*/
#define BUFFER_REPOP_VCRL_PDN	4   /*page down*/

	/*UDV/DDV panel region types*/
#define UDV_REGION_NAMELIST      ((Uint1)1)
#define UDV_REGION_SEPARATOR     ((Uint1)2)
#define UDV_REGION_PARAGLIST     ((Uint1)3)
#define UDV_REGION_SEQALIGNRULER ((Uint1)4) /*use by DDV only*/

	/*main display types*/
#define DDV_DISP_HORZ ((Uint4)1)
#define DDV_DISP_VERT ((Uint4)2)
#define DDV_DISP_LABEL ((Uint4)4)
#define DDV_DISP_REVERTCOORD ((Uint4)8)

/*timer control*/
#define UDV_SET_TIMER 1
#define UDV_TEST_TIMER 2
/*action associated with the timer*/
#define UDV_INVAL_REGION 1
#define UDV_NOTHING 2
	
#ifdef __cplusplus
}
#endif

#endif /* _UDVDEF_ */