GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
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
link_head::Unused
VOID_T * Unused
Definition:
linkm.h:19
VOID_T
#define VOID_T
Definition:
linkm.h:8
link_head
Definition:
linkm.h:12
link_head::exit_flag
int exit_flag
Definition:
linkm.h:20
linkm.h
link_head::chunk_size
int chunk_size
Definition:
linkm.h:17
link_head::unit_size
int unit_size
Definition:
linkm.h:18
link_head::alloced
int alloced
Definition:
linkm.h:16
link_head::ptr_array
VOID_T ** ptr_array
Definition:
linkm.h:14
link_head::max_ptr
int max_ptr
Definition:
linkm.h:15
include
grass
linkm.h
Generated on Tue Feb 14 2023 05:56:00 for GRASS GIS 8 Programmer's Manual by
1.8.13