summaryrefslogtreecommitdiff
path: root/src/compgen.h
blob: b3105dbe10ce81b72bfbe126fe64a36bcd97b106 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef COMPGEN_H
#define COMPGEN_H

#include "history.h"
#include "string_vec.h"

[[nodiscard("memory leaked")]]
char *compgen(void);

[[nodiscard("memory leaked")]]
char *compgen_cached(void);

[[nodiscard("memory leaked")]]
struct string_ref_vec compgen_history_sort(struct string_ref_vec *programs, struct history *history);

#endif /* COMPGEN_H */