TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
Loading...
Searching...
No Matches
cli.h
Go to the documentation of this file.
1/*
2
3 trip: Modern TRIP LS implementation
4 Copyright (C) 2025 arf20 (Ángel Ruiz Fernandez)
5
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <https://www.gnu.org/licenses/>.
18
19*/
20
21#ifndef _CLI_H
22#define _CLI_H
23
27
28#include "parser.h"
29
31void cli_print_prompt();
32
34void cli_run(parser_t *parser);
35
37void cli_reset();
38
39#endif /* _CLI_H */
40
void cli_reset()
Reset terminal.
Definition cli.c:212
void cli_print_prompt()
Print prompt.
Definition cli.c:54
void cli_run(parser_t *parser)
Command loop.
Definition cli.c:122
Command parser.
Parser object.
Definition parser.h:49