GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
linkm.h
Go to the documentation of this file.
1 #ifndef GRASS_LINKM_H
2 #define GRASS_LINKM_H
3 
4 #ifndef FILE
5 # include <stdio.h>
6 #endif
7 
8 #define VOID_T char
9 
10 #define PTR_CNT 10
11 
12 struct link_head
13 {
14  VOID_T **ptr_array; /* array of pointers to chunks */
15  int max_ptr; /* num of chunks alloced */
16  int alloced; /* size of ptr_array */
17  int chunk_size; /* size of alloc chucks in units */
18  int unit_size; /* size of each user defined unit */
19  VOID_T *Unused; /* Unused list pointer */
20  int exit_flag; /* exit on error ? */
21 };
22 
23 #include <grass/defs/linkm.h>
24 
25 #endif
#define VOID_T
Definition: linkm.h:8