GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-f0497c5f6c
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  VOID_T **ptr_array; /* array of pointers to chunks */
14  int max_ptr; /* num of chunks allocated */
15  int alloced; /* size of ptr_array */
16  int chunk_size; /* size of alloc chucks in units */
17  int unit_size; /* size of each user defined unit */
18  VOID_T *Unused; /* Unused list pointer */
19  int exit_flag; /* exit on error ? */
20 };
21 
22 #include <grass/defs/linkm.h>
23 
24 #endif
#define VOID_T
Definition: linkm.h:8