File: completion.h

package info (click to toggle)
libyang2 2.1.30-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,644 kB
  • sloc: ansic: 111,444; sh: 472; xml: 394; exp: 109; makefile: 15
file content (25 lines) | stat: -rw-r--r-- 659 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * @file completion.h
 * @author Michal Vasko <mvasko@cesnet.cz>
 * @brief libyang's yanglint tool auto completion header
 *
 * Copyright (c) 2015 CESNET, z.s.p.o.
 *
 * This source code is licensed under BSD 3-Clause License (the "License").
 * You may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://opensource.org/licenses/BSD-3-Clause
 */

#ifndef COMPLETION_H_
#define COMPLETION_H_

#include "./linenoise/linenoise.h"

/**
 * @brief Command line completion callback.
 */
void complete_cmd(const char *buf, const char *hint, linenoiseCompletions *lc);

#endif /* COMPLETION_H_ */