-
Notifications
You must be signed in to change notification settings - Fork 10
/
complete.h
25 lines (20 loc) · 685 Bytes
/
complete.h
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
#ifndef CCONS_COMPLETE_H
#define CCONS_COMPLETE_H
//
// Header file for complete.c, which provides file system path auto-completion.
//
// Part of ccons, the interactive console for the C programming language.
//
// Copyright (c) 2009 Alexei Svitkine. This file is distributed under the
// terms of MIT Open Source License. See file LICENSE for details.
//
#ifdef __cplusplus
extern "C" {
#endif
// Auto-complete the specified path. Returns number of characters copied into
// suggest, or 0 if no completion suggestion was available.
unsigned complete(const char *path, char *suggest, unsigned suggest_length);
#ifdef __cplusplus
} // extern "C"
#endif
#endif // CCONS_COMPLETE_H