GRASS GIS 8 Programmer's Manual  8.5.0dev(2024)-57a646b4a4
dig_atts.h File Reference
#include <stdio.h>
Include dependency graph for dig_atts.h:

Go to the source code of this file.

Data Structures

struct  attribute
 
struct  atts_index
 

Macros

#define WRITE_ATT_FORMAT   "%c %14s %14s %10d"
 
#define FlSIZ   14
 
#define READ_ATT_FORMAT   "%c %lf %lf %d"
 
#define ATT_TYPES   "LAP"
 

Functions

int atts_init (FILE *, struct atts_index *)
 
int free_atts (struct atts_index *)
 
int read_area_att (FILE *, struct atts_index *, struct attribute *, int)
 
int read_line_att (FILE *, struct atts_index *, struct attribute *, int)
 
int read_att_struct (FILE *, struct attribute *)
 
int read_att (FILE *, char *, double *, double *, int *, long *)
 
int write_att (FILE *, char, double, double, int)
 
int write_att_struct (FILE *, struct attribute *)
 
int write_att_line (FILE *, double *, double *, int, int)
 

Macro Definition Documentation

◆ ATT_TYPES

#define ATT_TYPES   "LAP"

Definition at line 14 of file dig_atts.h.

◆ FlSIZ

#define FlSIZ   14

Definition at line 8 of file dig_atts.h.

◆ READ_ATT_FORMAT

#define READ_ATT_FORMAT   "%c %lf %lf %d"

Definition at line 9 of file dig_atts.h.

◆ WRITE_ATT_FORMAT

#define WRITE_ATT_FORMAT   "%c %14s %14s %10d"

Definition at line 7 of file dig_atts.h.

Function Documentation

◆ atts_init()

int atts_init ( FILE *  ,
struct atts_index  
)

◆ free_atts()

int free_atts ( struct atts_index )

◆ read_area_att()

int read_area_att ( FILE *  ,
struct atts_index ,
struct attribute ,
int   
)

◆ read_att()

int read_att ( FILE *  ,
char *  ,
double *  ,
double *  ,
int *  ,
long *   
)

◆ read_att_struct()

int read_att_struct ( FILE *  ,
struct attribute  
)

◆ read_line_att()

int read_line_att ( FILE *  ,
struct atts_index ,
struct attribute ,
int   
)

◆ write_att()

int write_att ( FILE *  ,
char  ,
double  ,
double  ,
int   
)

◆ write_att_line()

int write_att_line ( FILE *  ,
double *  ,
double *  ,
int  ,
int   
)

◆ write_att_struct()

int write_att_struct ( FILE *  ,
struct attribute  
)