Allow a callback after every command
[screen-lua.git] / src / script.h
blob78259b928e92ef3ee9178e577feb959439842fa1
1 /* Copyright (c) 2008 Sadrul Habib Chowdhury (sadrul@users.sf.net)
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 3, or (at your option)
6 * any later version.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program (see the file COPYING); if not, write to the
15 * Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
18 ****************************************************************
19 * $Id$ FAU
22 struct win;
24 struct ScriptFuncs
26 int (*sf_Init) __P((void));
27 int (*sf_Finit) __P((void));
28 int (*sf_ForeWindowChanged) __P((void));
29 int (*sf_Source) __P((const char *));
30 int (*sf_ProcessCaption) __P((const char *, struct win *, int len));
31 int (*sf_CommandExecuted) __P((const char *, const char **, int));
34 void LoadScripts(void);