summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ntux/ntux.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/include/ntux/ntux.h b/include/ntux/ntux.h
index 29a6f55..07c735b 100644
--- a/include/ntux/ntux.h
+++ b/include/ntux/ntux.h
@@ -105,22 +105,26 @@ struct ntux_unit_ctx {
void * any;
};
-/* package info */
-ntux_api const struct ntux_source_version * ntux_source_version(void);
-
/* driver api */
-ntux_api int ntux_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, struct ntux_driver_ctx **);
-ntux_api void ntux_free_driver_ctx (struct ntux_driver_ctx *);
+ntux_api int ntux_get_driver_ctx (char **, char **, uint32_t,
+ struct ntux_driver_ctx **);
+
+ntux_api void ntux_free_driver_ctx (struct ntux_driver_ctx *);
/* cmd api */
-ntux_api int ntux_cmd_stat (const struct ntux_driver_ctx *, const char *);
-ntux_api int ntux_cmd_spawn (const struct ntux_driver_ctx *);
-ntux_api int ntux_cmd_strace (const struct ntux_driver_ctx *);
+ntux_api int ntux_cmd_stat (const struct ntux_driver_ctx *, const char *);
+ntux_api int ntux_cmd_spawn (const struct ntux_driver_ctx *);
+ntux_api int ntux_cmd_strace (const struct ntux_driver_ctx *);
/* utility api */
-ntux_api int ntux_main (int, char **, char **);
+ntux_api int ntux_main (int, char **, char **);
+
+/* error trace api */
ntux_api int ntux_output_error_vector (const struct ntux_driver_ctx *);
+/* package info */
+ntux_api const struct ntux_source_version * ntux_source_version(void);
+
#ifdef __cplusplus
}
#endif