aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Embroidery/libembroidery/utility/ino-file.h
blob: 07e0c8277b840d42dbc7ec30dc09d2e7eed87e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*! @file ino-file.h */
#ifndef INO_FILE_H
#define INO_FILE_H

#ifdef __cplusplus
extern "C" {
#endif

typedef struct InoFile_ InoFile;
typedef InoFile EmbFile;

InoFile* inoFile_open(const char* fileName, const char* mode);
int inoFile_close(InoFile* stream);
int inoFile_eof(InoFile* stream);
int inoFile_getc(InoFile* stream);
int inoFile_seek(InoFile* stream, long offset, int origin);
long inoFile_tell(InoFile* stream);
InoFile* inoFile_tmpfile(void);
int inoFile_putc(int ch, InoFile* stream);

int inoFile_printf(InoFile* stream, const char* msg);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* INO_FILE_H */

/* kate: bom off; indent-mode cstyle; indent-width 4; replace-trailing-space-save on; */