diff options
author | midipix <writeonce@midipix.org> | 2016-12-20 20:53:41 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-12-27 04:40:56 -0500 |
commit | 26e14f4143ec690a120e197a3adf547145e4ce59 (patch) | |
tree | e9e8b522de5abb14230c5f8e0825452f0c7ccb4b /src/internal/ntux_driver_impl.h | |
parent | 70c49fc4ed3b2c3db68537f828c286241eeeee98 (diff) | |
download | ntux-26e14f4143ec690a120e197a3adf547145e4ce59.tar.bz2 ntux-26e14f4143ec690a120e197a3adf547145e4ce59.tar.xz |
create free-standing, libpsxscl-based project skeleton.
Diffstat (limited to 'src/internal/ntux_driver_impl.h')
-rw-r--r-- | src/internal/ntux_driver_impl.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/internal/ntux_driver_impl.h b/src/internal/ntux_driver_impl.h new file mode 100644 index 0000000..815f3ef --- /dev/null +++ b/src/internal/ntux_driver_impl.h @@ -0,0 +1,33 @@ +#ifndef NTUX_DRIVER_IMPL_H +#define NTUX_DRIVER_IMPL_H + +#include <ntapi/ntapi.h> +#include <psxscl/psxscl.h> +#include <stdint.h> +#include <stdio.h> + +#include <ntux/ntux.h> +#include "argv/argv.h" + +extern const struct argv_option ntux_default_options[]; +extern const ntapi_vtbl * ntux_ntapi; + +#define ntapi ntux_ntapi + +enum app_tags { + TAG_HELP, + TAG_VERSION, +}; + +struct ntux_driver_ctx_impl { + struct ntux_common_ctx cctx; + struct ntux_driver_ctx ctx; + struct __psx_context xctx; + const char * eunit; + struct ntux_error_info ** errinfp; + struct ntux_error_info ** erricap; + struct ntux_error_info * erriptr[64]; + struct ntux_error_info erribuf[64]; +}; + +#endif |