xref: /freebsd/contrib/wireguard-tools/subcommands.h (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /*
3  * Copyright (C) 2015-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
4  */
5 
6 #ifndef SUBCOMMANDS_H
7 #define SUBCOMMANDS_H
8 
9 extern const char *PROG_NAME;
10 int show_main(int argc, const char *argv[]);
11 int showconf_main(int argc, const char *argv[]);
12 int set_main(int argc, const char *argv[]);
13 int setconf_main(int argc, const char *argv[]);
14 int genkey_main(int argc, const char *argv[]);
15 int pubkey_main(int argc, const char *argv[]);
16 
17 #endif
18