summaryrefslogtreecommitdiffstats
path: root/src/parse.h
blob: fcc823406ef0cfbf331825788e95a715efde4151 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

/**
 * bfs command line parsing.
 */

#ifndef BFS_PARSE_H
#define BFS_PARSE_H

/**
 * Parse the command line.
 *
 * @argc
 *         The number of arguments.
 * @argv
 *         The arguments to parse.
 * @return
 *         A new bfs context, or NULL on failure.
 */
struct bfs_ctx *bfs_parse_cmdline(int argc, char *argv[]);

#endif // BFS_PARSE_H