1
0
Fork 0
mirror of https://github.com/tailix/libkernaux.git synced 2025-02-17 15:45:32 -05:00
libkernaux/include/kernaux/io.h

22 lines
390 B
C
Raw Normal View History

2022-06-14 15:03:17 +03:00
#ifndef KERNAUX_INCLUDED_IO
#define KERNAUX_INCLUDED_IO
2022-06-07 20:46:52 +03:00
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*KernAux_File_Out)(char c, void *arg);
typedef struct KernAux_File {
KernAux_File_Out out;
} *KernAux_File;
struct KernAux_File KernAux_File_create(KernAux_File_Out out);
void KernAux_File_init(KernAux_File file, KernAux_File_Out out);
2022-06-07 20:46:52 +03:00
#ifdef __cplusplus
}
#endif
#endif