/usr/lib/grass72/include/grass/linkm.h is in grass-dev 7.2.0-2.
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 | #ifndef GRASS_LINKM_H
#define GRASS_LINKM_H
#ifndef FILE
# include <stdio.h>
#endif
#define VOID_T char
#define PTR_CNT 10
struct link_head
{
VOID_T **ptr_array; /* array of pointers to chunks */
int max_ptr; /* num of chunks alloced */
int alloced; /* size of ptr_array */
int chunk_size; /* size of alloc chucks in units */
int unit_size; /* size of each user defined unit */
VOID_T *Unused; /* Unused list pointer */
int exit_flag; /* exit on error ? */
};
#include <grass/defs/linkm.h>
#endif
|