diff options
Diffstat (limited to 'src/opt.h')
-rw-r--r-- | src/opt.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/opt.h b/src/opt.h new file mode 100644 index 0000000..4aac129 --- /dev/null +++ b/src/opt.h @@ -0,0 +1,23 @@ +// Copyright © Tavian Barnes <tavianator@tavianator.com> +// SPDX-License-Identifier: 0BSD + +/** + * Optimization. + */ + +#ifndef BFS_OPT_H +#define BFS_OPT_H + +struct bfs_ctx; + +/** + * Apply optimizations to the command line. + * + * @param ctx + * The bfs context to optimize. + * @return + * 0 if successful, -1 on error. + */ +int bfs_optimize(struct bfs_ctx *ctx); + +#endif // BFS_OPT_H |