File: oop-rl.h

package info (click to toggle)
liboop 0.8-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 636 kB
  • ctags: 435
  • sloc: sh: 7,375; ansic: 2,426; makefile: 111
file content (20 lines) | stat: -rw-r--r-- 628 bytes parent folder | download | duplicates (19)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* oop-rl.h, liboop, copyright 2000 Dan Egnor

   This is free software; you can redistribute it and/or modify it under the
   terms of the GNU Lesser General Public License, version 2.1 or later.
   See the file COPYING for details. */

#ifndef OOP_READLINE_H
#define OOP_READLINE_H

#include "oop.h"

/* Use a liboop event source to call rl_callback_read_char().
   It is up to you to call rl_callback_handler_install().
   Note well that readline uses malloc(), not oop_malloc(). */
void oop_readline_register(oop_source *);

/* Stop notifying readline of input characters. */
void oop_readline_cancel(oop_source *);

#endif