aboutsummaryrefslogtreecommitdiff
path: root/src/io/cli.h
blob: c670328949b5cb04d161bbc4d9e2152796550a0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * ecgen, tool for generating Elliptic curve domain parameters
 * Copyright (C) 2017 J08nY
 */
/**
 * @file cli.h
 */
#ifndef ECGEN_CLI_H
#define ECGEN_CLI_H

#include <argp.h>
#include <stdbool.h>
#include <stdlib.h>

extern char doc[];
extern char args_doc[];
extern struct argp_option options[];

error_t cli_parse(int key, char *arg, struct argp_state *state);

char *cli_filter(int key, const char *text, void *input);

#endif  // ECGEN_CLI_H