Radek Krejci | ed5acc5 | 2019-04-25 15:57:04 +0200 | [diff] [blame] | 1 | /** |
aPiecek | 023f83a | 2021-05-11 07:37:03 +0200 | [diff] [blame] | 2 | * @file completion.h |
Radek Krejci | ed5acc5 | 2019-04-25 15:57:04 +0200 | [diff] [blame] | 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 | * |
| 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 |
| 11 | * |
| 12 | * https://opensource.org/licenses/BSD-3-Clause |
| 13 | */ |
| 14 | |
| 15 | #ifndef COMPLETION_H_ |
| 16 | #define COMPLETION_H_ |
| 17 | |
| 18 | #include "./linenoise/linenoise.h" |
| 19 | |
roman | c1607ce | 2022-09-12 10:12:39 +0200 | [diff] [blame] | 20 | /** |
| 21 | * @brief Command line completion callback. |
| 22 | */ |
Radek Krejci | ed5acc5 | 2019-04-25 15:57:04 +0200 | [diff] [blame] | 23 | void complete_cmd(const char *buf, const char *hint, linenoiseCompletions *lc); |
| 24 | |
| 25 | #endif /* COMPLETION_H_ */ |