mirror of
https://github.com/tailix/libkernaux.git
synced 2025-02-17 15:45:32 -05:00
21 lines
390 B
C
21 lines
390 B
C
#ifndef KERNAUX_INCLUDED_IO
|
|
#define KERNAUX_INCLUDED_IO
|
|
|
|
#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);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|