summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-05 03:38:45 -0400
committermidipix <writeonce@midipix.org>2018-08-05 04:52:35 -0400
commit30077e892fcb1a6b6ec01e74af060fc11e7a067f (patch)
tree31eb441e80e4f41b30f74c4404d4ec04ce80d54e
parent787b40192a1415d973c04c3a02826db3fa51394f (diff)
downloadntux-30077e892fcb1a6b6ec01e74af060fc11e7a067f.tar.bz2
ntux-30077e892fcb1a6b6ec01e74af060fc11e7a067f.tar.xz
whitespace meditation.
-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