William Lallemand | 9ed6203 | 2016-11-21 17:49:11 +0100 | [diff] [blame] | 1 | /* |
| 2 | * include/proto/cli.h |
| 3 | * This file contains definitions of some primitives to dedicated to |
| 4 | * statistics output. |
| 5 | * |
| 6 | * Copyright (C) 2000-2011 Willy Tarreau - w@1wt.eu |
| 7 | * |
| 8 | * This library is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU Lesser General Public |
| 10 | * License as published by the Free Software Foundation, version 2.1 |
| 11 | * exclusively. |
| 12 | * |
| 13 | * This library is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | * Lesser General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU Lesser General Public |
| 19 | * License along with this library; if not, write to the Free Software |
| 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 | */ |
| 22 | |
| 23 | #ifndef _PROTO_CLI_H |
| 24 | #define _PROTO_CLI_H |
| 25 | |
| 26 | |
| 27 | struct cli_kw* cli_find_kw(char **args); |
| 28 | void cli_register_kw(struct cli_kw_list *kw_list); |
| 29 | |
Willy Tarreau | de57a57 | 2016-11-23 17:01:39 +0100 | [diff] [blame] | 30 | int cli_has_level(struct appctx *appctx, int level); |
| 31 | |
William Lallemand | 9ed6203 | 2016-11-21 17:49:11 +0100 | [diff] [blame] | 32 | #endif /* _PROTO_CLI_H */ |
| 33 | |