aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/subcommands.h
blob: 6707ead74df816066ffc98304569b6d670d4f5c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
 */

#ifndef SUBCOMMANDS_H
#define SUBCOMMANDS_H

#include "containers.h"

extern const char *PROG_NAME;
int show_main(int argc, char *argv[], struct wgoptions *);
int showconf_main(int argc, char *argv[], struct wgoptions *);
int set_main(int argc, char *argv[], struct wgoptions *);
int setconf_main(int argc, char *argv[], struct wgoptions *);
int genkey_main(int argc, char *argv[], struct wgoptions *);
int pubkey_main(int argc, char *argv[], struct wgoptions *);

#endif