File: kbd.h

package info (click to toggle)
utalk 1.0.1.beta-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 340 kB
  • ctags: 667
  • sloc: ansic: 5,581; makefile: 68; sh: 1
file content (26 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (6)
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
26
/* utalk, a UDP-based "talk" replacement, using srdp
   by Roger Espel Llima <roger.espel.llima@pobox.com>

   kbd.h

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation. See the file LICENSE for details.
*/

#ifndef KBD_H
#define KBD_H

#include "struct.h"

extern struct mode *current_mode, modes[N_MODES];
extern ftype force_next_func;
extern int vi_prefix;

extern void kbd_defaults(void);
extern void keyboard(unsigned char c);
extern char *new_binding(unsigned char *s, int insmode);
extern struct mode *new_mode(unsigned char *s);

#endif