GRASS GIS 8 Programmer's Manual
8.5.0dev(2024)-36359e2344
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
linkm.h
VOID_T
#define VOID_T
Definition:
linkm.h:8
link_head
Definition:
linkm.h:12
link_head::alloced
int alloced
Definition:
linkm.h:15
link_head::chunk_size
int chunk_size
Definition:
linkm.h:16
link_head::exit_flag
int exit_flag
Definition:
linkm.h:19
link_head::unit_size
int unit_size
Definition:
linkm.h:17
link_head::max_ptr
int max_ptr
Definition:
linkm.h:14
link_head::ptr_array
VOID_T ** ptr_array
Definition:
linkm.h:13
link_head::Unused
VOID_T * Unused
Definition:
linkm.h:18
include
grass
linkm.h
Generated on Thu Nov 21 2024 07:03:28 for GRASS GIS 8 Programmer's Manual by
1.9.1