File: history.h

package info (click to toggle)
notion 4.0.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,676 kB
  • sloc: ansic: 47,508; sh: 2,096; makefile: 603; perl: 270
file content (24 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * ion/mod_query/history.h
 *
 * Copyright (c) Tuomo Valkonen 1999-2007.
 *
 * See the included file LICENSE for details.
 */

#ifndef ION_MOD_QUERY_HISTORY_H
#define ION_MOD_QUERY_HISTORY_H

#include <ioncore/common.h>
#include <libextl/extl.h>

extern const char *mod_query_history_get(int n);
extern bool mod_query_history_push(const char *s);
extern void mod_query_history_push_(char *s);
extern void mod_query_history_clear();
extern int mod_query_history_search(const char *s, int from, bool bwd,
                                    bool exact);
extern uint mod_query_history_complete(const char *s, char ***h_ret);
extern ExtlTab mod_query_history_table();

#endif /* ION_MOD_QUERY_HISTORY_H */