File: mode.h

package info (click to toggle)
aoeui 1.4-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 440 kB
  • ctags: 574
  • sloc: ansic: 6,005; makefile: 76; sh: 11
file content (20 lines) | stat: -rw-r--r-- 474 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2007, 2008 Peter Klausler.  See COPYING for license. */
#ifndef MODE_H
#define MODE_H

struct view;
typedef void (*command)(struct view *, Unicode_t);

/* All modes start with this header. */
struct mode {
	command command;
};

extern Boolean_t is_asdfg;
struct mode *mode_default(void);
void mode_search(struct view *, Boolean_t regex);
void mode_child(struct view *);
void mode_shell_pipe(struct view *);
void shell_command(struct view *, Unicode_t);

#endif