This file is indexed.

/usr/include/minc_simple.h is in libminc-dev 2.2.00-3.

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
/* minc_simple.h 
 *
 * Simplified interface for MINC files.
 */

#define MINC_STATUS_OK 0
#define MINC_STATUS_ERROR (-1)

#define MINC_TYPE_CHAR 10
#define MINC_TYPE_UCHAR 20
#define MINC_TYPE_SHORT 30
#define MINC_TYPE_USHORT 40
#define MINC_TYPE_INT 50
#define MINC_TYPE_UINT 60
#define MINC_TYPE_FLOAT 70
#define MINC_TYPE_DOUBLE 80

#define MINC_3D 3               /* Number of spatial dimensions */

/* Get information about a MINC file.
 */
MNCAPI int 
minc_file_size(char *path,      /* Path to the file */
               long *ct,        /* Total length of time axis, in voxels */
               long *cz,        /* Total length of Z axis, in voxels */
               long *cy,        /* Total length of Y axis, in voxels */
               long *cx,        /* Total length of X axis, in voxels */
               long *cvoxels,   /* Total number of voxels */
               long *cbytes);   /* Total number of bytes as native datatype */

/* Load data from a MINC file.
 */
MNCAPI int 
minc_load_data(char *path,      /* Path to the file */
               void *dataptr,   /* Buffer to store data */
               int datatype,    /* Type of data as read into memory */
               long *ct, long *cz, long *cy, long *cx,
               double *dt, double *dz, double *dy, double *dx,
               void **infoptr);

/* Define an output file.  Return value is a file handle, or 
 * MINC_STATUS_ERROR if a problem is detected.
 */
MNCAPI int
minc_save_start(char *path,     /* Path to the file */
                int filetype,   /* Date type as stored in the file */
                long ct,        /* Total length of time axis, in voxels */
                long cz,        /* Total length of Z axis, in voxels */
                long cy,        /* Total length of Y axis, in voxels */
                long cx,        /* Total length of X axis, in voxels */
                double dt,      /* Sample width along time axis, in seconds */
                double dz,      /* Sample width along Z axis, in mm */
                double dy,      /* Sample width along Y axis, in mm */
                double dx,      /* Sample width along X axis, in mm */
                void *infoptr,  /* Opaque file structure information */
                const char *history); /* New history information */

/* Write data to file.  Return value is MINC_STATUS_OK or MINC_STATUS_ERROR.
 */
MNCAPI int 
minc_save_data(int handle,    /* Handle returned by minc_save_start */
               void *dataptr,   /* Data to write */
               int datatype,    /* Type of data in memory */
               long st,         /* Start position of 4D hyperslab */
               long sz, 
               long sy, 
               long sx,
               long ct,         /* Size of 4D hyperslab */
               long cz, 
               long cy, 
               long cx);

/* Called when a particular file is complete.
 */
MNCAPI int 
minc_save_done(int handle);

/* Called to free memory associated with the infoptr.
 */                          
MNCAPI void 
minc_free_info(void *infoptr);

MNCAPI int 
minc_get_world_transform(char *path, 
                         double transform[MINC_3D][MINC_3D + 1]);