]> Sergey Matveev's repositories - bfs.git/blob - src/opt.h
Formatting fixes
[bfs.git] / src / opt.h
1 // Copyright © Tavian Barnes <tavianator@tavianator.com>
2 // SPDX-License-Identifier: 0BSD
3
4 /**
5  * Optimization.
6  */
7
8 #ifndef BFS_OPT_H
9 #define BFS_OPT_H
10
11 struct bfs_ctx;
12
13 /**
14  * Apply optimizations to the command line.
15  *
16  * @param ctx
17  *         The bfs context to optimize.
18  * @return
19  *         0 if successful, -1 on error.
20  */
21 int bfs_optimize(struct bfs_ctx *ctx);
22
23 #endif // BFS_OPT_H