hsmet  1.0.0
he-bfio.h
gehe zur Dokumentation dieser Datei
1 
12 #ifndef HE_BFIO_H_INCLUDED
13 
15 #define HE_BFIO_H_INCLUDED 1
16 
17 
18 #include <stdio.h>
19 
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
31 int
32 he_bfio_save_uint16(FILE *fp, unsigned short u16, int *ec);
33 
40 int
41 he_bfio_save_uint32(FILE *fp, unsigned long u32, int *ec);
42 
49 int
50 he_bfio_save_int16(FILE *fp, short i16, int *ec);
51 
58 int
59 he_bfio_save_int32(FILE *fp, long i32, int *ec);
60 
67 int
68 he_bfio_save_string(FILE *fp, const char *str, int *ec);
69 
76 int
77 he_bfio_restore_uint16(unsigned short *u16p, FILE *fp, int *ec);
78 
85 int
86 he_bfio_restore_uint32(unsigned long *u32p, FILE *fp, int *ec);
87 
94 int
95 he_bfio_restore_int16(short *i16p, FILE *fp, int *ec);
96 
103 int
104 he_bfio_restore_int32(long *i32p, FILE *fp, int *ec);
105 
112 int
113 he_bfio_restore_string(char **strp, FILE *fp, int *ec);
114 
115 
116 #ifdef __cplusplus
117 }
118 #endif
119 
120 #endif
121 /* ifndef HE_BFIO_H_INCLUDED */
122 
123 
124 /* vim: set ai sw=4 ts=4 : */
125 
int he_bfio_restore_string(char **strp, FILE *fp, int *ec)
String binaer aus Datei lesen.
int he_bfio_restore_int32(long *i32p, FILE *fp, int *ec)
Vorzeichenbehaftete 32-Bit-Zahl binaer aus Datei lesen.
int he_bfio_restore_int16(short *i16p, FILE *fp, int *ec)
Vorzeichenbehaftete 16-Bit-Zahl binaer aus Datei lesen.
int he_bfio_restore_uint32(unsigned long *u32p, FILE *fp, int *ec)
Vorzeichenlose 32-Bit-Zahl binaer aus Datei lesen.
int he_bfio_save_int16(FILE *fp, short i16, int *ec)
Vorzeichenbehaftete 16-Bit-Zahl binaer in Datei speichern.
int he_bfio_save_uint32(FILE *fp, unsigned long u32, int *ec)
Vorzeichenlose 32-Bit-Zahl binaer in Datei speichern.
int he_bfio_save_uint16(FILE *fp, unsigned short u16, int *ec)
Vorzeichenlose 16-Bit-Zahl binaer in Datei speichern.
int he_bfio_save_int32(FILE *fp, long i32, int *ec)
Vorzeichenbehaftete 32-Bit-Zahl binaer in Datei speichern.
int he_bfio_save_string(FILE *fp, const char *str, int *ec)
String binaer in Datei speichern.
int he_bfio_restore_uint16(unsigned short *u16p, FILE *fp, int *ec)
Vorzeichenlose 16-Bit-Zahl binaer aus Datei lesen.