Radek Krejci | 7136a8e | 2015-08-17 13:37:30 +0200 | [diff] [blame] | 1 | /** |
| 2 | * @file main.c |
| 3 | * @author Michal Vasko <mvasko@cesnet.cz> |
| 4 | * @brief libyang's yanglint tool auto completion header |
| 5 | * |
| 6 | * Copyright (c) 2015 CESNET, z.s.p.o. |
| 7 | * |
Radek Krejci | 54f6fb3 | 2016-02-24 12:56:39 +0100 | [diff] [blame] | 8 | * This source code is licensed under BSD 3-Clause License (the "License"). |
| 9 | * You may not use this file except in compliance with the License. |
| 10 | * You may obtain a copy of the License at |
Michal Vasko | 10e89e7 | 2016-03-01 16:00:27 +0100 | [diff] [blame] | 11 | * |
Radek Krejci | 54f6fb3 | 2016-02-24 12:56:39 +0100 | [diff] [blame] | 12 | * https://opensource.org/licenses/BSD-3-Clause |
Radek Krejci | 7136a8e | 2015-08-17 13:37:30 +0200 | [diff] [blame] | 13 | */ |
| 14 | |
Michal Vasko | e0cb252 | 2015-07-01 10:24:53 +0200 | [diff] [blame] | 15 | #ifndef COMPLETION_H_ |
| 16 | #define COMPLETION_H_ |
| 17 | |
| 18 | #include "../../linenoise/linenoise.h" |
| 19 | |
Michal Vasko | 6470e75 | 2015-12-16 13:25:34 +0100 | [diff] [blame] | 20 | void complete_cmd(const char *buf, const char *hint, linenoiseCompletions *lc); |
Michal Vasko | e0cb252 | 2015-07-01 10:24:53 +0200 | [diff] [blame] | 21 | |
Radek Krejci | 7136a8e | 2015-08-17 13:37:30 +0200 | [diff] [blame] | 22 | #endif /* COMPLETION_H_ */ |