HDF
4.3.0
API Reference
|
#include "hdf.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "he_proto.h"
Data Structures | |
struct | HE_CMD |
struct | HE_PRED |
struct | DFdesc_ptr |
struct | tag_ref_ptr |
struct | HE_GROUP |
Macros | |
#define | ASSERT(e) /* empty assertion */ |
#define | NOT_REACHED() /* empty */ |
#define | HE_ARG_SZ 30 |
#define | HE_DESC_SZ 8192 |
#define | HE_COLOR_SZ 256 |
#define | HE_PALETTE_SZ 768 |
#define | HE_BUF_SZ 1024 |
#define | HE_OK 0 |
#define | HE_FAIL -1 |
#define | YES 1 |
#define | NO 0 |
#define | HE_AMBIG -2 |
#define | HE_NOTFOUND -1 |
#define | HE_ALL 1 |
#define | HE_BACKUP 2 |
#define | HE_HELP 3 |
#define | HE_LONGOUT 4 |
#define | HE_NOBACKUP 5 |
#define | HE_REMOTE 6 |
#define | HE_VERBOSE 7 |
#define | HE_FILE 8 |
#define | HE_KEEP 9 |
#define | HE_POSITION 10 |
#define | HE_EXPANSION 11 |
#define | HE_LARGE 12 |
#define | HE_RDONLY 13 |
#define | HE_BATCH 14 |
#define | HE_OFFSET 15 |
#define | HE_ASCII 16 |
#define | HE_OCTAL 17 |
#define | HE_HEX 18 |
#define | HE_DECIMAL 19 |
#define | HE_FLOAT 20 |
#define | HE_DIMS 21 |
#define | HE_IMAGE 22 |
#define | HE_PALETTE 23 |
#define | HE_RASTER 24 |
#define | HE_RLE 25 |
#define | HE_IMCOMP 26 |
#define | HE_DOGROUP 27 |
#define | HE_LENGTH 28 |
#define | HE_ATTACHTO 29 |
#define | HE_LABEL 30 |
#define | HE_DESCRIPTOR 31 |
#define | HE_EDITOR 32 |
#define | HE_BYTE 33 |
#define | HE_SHORT 34 |
#define | HE_DOUBLE 35 |
#define | HE_RAW 36 |
#define | HE_USHORT 37 |
#define | HE_UDECIMAL 38 |
#define | HE_PREDICATE 0x8000 |
#define | HE_COMPARATOR 0x4000 |
#define | HEK_NULL 0 |
#define | HEK_TAG 1 |
#define | HEK_REF 2 |
#define | HEK_EQUAL 3 |
#define | HEK_NEQUAL 4 |
#define | HEK_GRT 5 |
#define | HEK_GEQUAL 6 |
#define | HEK_LESST 7 |
#define | HEK_LEQUAL 8 |
#define | HEK_ALL 9 |
#define | HEK_SUCCEED 10 |
#define | HEK_FAIL 11 |
#define | HEK_GROUP 12 |
#define | HE_NUMBER 1 |
#define | HE_STRING 2 |
#define | unkOpt(st) fprintf(stderr, "Unknown option: %s.\n", st) |
#define | unkArg(st) fprintf(stderr, "Unknown argument: %s.\n", st) |
#define | ambigOpt(st) fprintf(stderr, "Ambiguous option: %s.\n", st) |
#define | irrOpt(st) fprintf(stderr, "Irrelevant option: %s.\n", st) |
#define | noFile() fprintf(stderr, "No file is opened.\n") |
#define | isAnnot(t) (t == DFTAG_DIL || t == DFTAG_DIA) |
#define | isRig(t) (t == DFTAG_RIG) |
#define | currTag (he_desc[he_currDesc].tag) |
#define | currGrpNo (desc2Grp(he_currDesc)) |
#define | currDesc ((DFdesc *)he_desc + he_currDesc) |
Typedefs | |
typedef int(* | HE_FUNC) (void *) |
Variables | |
int | he_status |
int | he_numDesc |
int | he_currDesc |
int | he_numGrp |
int | he_remote |
char * | he_file |
DFdesc * | he_desc |
HE_GROUP * | he_grp |
#define ambigOpt | ( | st | ) | fprintf(stderr, "Ambiguous option: %s.\n", st) |
#define ASSERT | ( | e | ) | /* empty assertion */ |
#define currDesc ((DFdesc *)he_desc + he_currDesc) |
#define currGrpNo (desc2Grp(he_currDesc)) |
#define currTag (he_desc[he_currDesc].tag) |
#define HE_ALL 1 |
#define HE_AMBIG -2 |
#define HE_ARG_SZ 30 |
#define HE_ASCII 16 |
#define HE_ATTACHTO 29 |
#define HE_BACKUP 2 |
#define HE_BATCH 14 |
#define HE_BUF_SZ 1024 |
#define HE_BYTE 33 |
#define HE_COLOR_SZ 256 |
#define HE_COMPARATOR 0x4000 |
#define HE_DECIMAL 19 |
#define HE_DESC_SZ 8192 |
#define HE_DESCRIPTOR 31 |
#define HE_DIMS 21 |
#define HE_DOGROUP 27 |
#define HE_DOUBLE 35 |
#define HE_EDITOR 32 |
#define HE_EXPANSION 11 |
#define HE_FAIL -1 |
#define HE_FILE 8 |
#define HE_FLOAT 20 |
#define HE_HELP 3 |
#define HE_HEX 18 |
#define HE_IMAGE 22 |
#define HE_IMCOMP 26 |
#define HE_KEEP 9 |
#define HE_LABEL 30 |
#define HE_LARGE 12 |
#define HE_LENGTH 28 |
#define HE_LONGOUT 4 |
#define HE_NOBACKUP 5 |
#define HE_NOTFOUND -1 |
#define HE_NUMBER 1 |
#define HE_OCTAL 17 |
#define HE_OFFSET 15 |
#define HE_OK 0 |
#define HE_PALETTE 23 |
#define HE_PALETTE_SZ 768 |
#define HE_POSITION 10 |
#define HE_PREDICATE 0x8000 |
#define HE_RASTER 24 |
#define HE_RAW 36 |
#define HE_RDONLY 13 |
#define HE_REMOTE 6 |
#define HE_RLE 25 |
#define HE_SHORT 34 |
#define HE_STRING 2 |
#define HE_UDECIMAL 38 |
#define HE_USHORT 37 |
#define HE_VERBOSE 7 |
#define HEK_ALL 9 |
#define HEK_EQUAL 3 |
#define HEK_FAIL 11 |
#define HEK_GEQUAL 6 |
#define HEK_GROUP 12 |
#define HEK_GRT 5 |
#define HEK_LEQUAL 8 |
#define HEK_LESST 7 |
#define HEK_NEQUAL 4 |
#define HEK_NULL 0 |
#define HEK_REF 2 |
#define HEK_SUCCEED 10 |
#define HEK_TAG 1 |
#define irrOpt | ( | st | ) | fprintf(stderr, "Irrelevant option: %s.\n", st) |
#define isRig | ( | t | ) | (t == DFTAG_RIG) |
#define NO 0 |
#define noFile | ( | ) | fprintf(stderr, "No file is opened.\n") |
#define NOT_REACHED | ( | ) | /* empty */ |
#define unkArg | ( | st | ) | fprintf(stderr, "Unknown argument: %s.\n", st) |
#define unkOpt | ( | st | ) | fprintf(stderr, "Unknown option: %s.\n", st) |
#define YES 1 |
typedef int(* HE_FUNC) (void *) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |