2022-06-14 12:03:17 +00:00
|
|
|
#ifndef KERNAUX_INCLUDED_IO
|
|
|
|
#define KERNAUX_INCLUDED_IO
|
2022-06-07 17:46:52 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
typedef void (*KernAux_File_Out)(char c, void *arg);
|
|
|
|
|
2022-06-07 18:08:47 +00:00
|
|
|
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 17:46:52 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|