blob: 20b8d17aba78ce9405b6698964132394f76eae22 [file] [log] [blame]
Radek Krejcied5acc52019-04-25 15:57:04 +02001/**
aPiecek023f83a2021-05-11 07:37:03 +02002 * @file completion.h
Radek Krejcied5acc52019-04-25 15:57:04 +02003 * @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
romanc1607ce2022-09-12 10:12:39 +020020/**
21 * @brief Command line completion callback.
22 */
Radek Krejcied5acc52019-04-25 15:57:04 +020023void complete_cmd(const char *buf, const char *hint, linenoiseCompletions *lc);
24
25#endif /* COMPLETION_H_ */