diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-06 22:12:11 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-06 22:21:51 +0200 |
| commit | 4d2c6c230d1b2a502c4b58c54195b874860530b3 (patch) | |
| tree | 4ee7b7e045372d0f26630fe30a509c938c776696 /src/aio/private_include | |
| parent | 55f32781ea611873a08f195d437fc0123919d685 (diff) | |
| download | wnix-4d2c6c230d1b2a502c4b58c54195b874860530b3.tar.gz | |
Setup aio skeleton
Diffstat (limited to 'src/aio/private_include')
| -rw-r--r-- | src/aio/private_include/aio/types.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/aio/private_include/aio/types.h b/src/aio/private_include/aio/types.h new file mode 100644 index 0000000..31ee414 --- /dev/null +++ b/src/aio/private_include/aio/types.h @@ -0,0 +1,16 @@ +#ifndef AIO_PRV_OPEN_H +#define AIO_PRV_OPEN_H + +enum aio_state +{ + AIO_OK, + AIO_AGAIN, + AIO_FATAL +}; + +struct aio +{ + enum aio_state (*next)(struct aio *); +}; + +#endif |
