aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjames <>2008-02-20 19:44:37 +0000
committerjames <>2008-02-20 19:44:37 +0000
commit8e2bb9b2970ecb7ca3919b074e4474b878bd02bb (patch)
tree41d5a82e8d4612dab9cab273f6941206345a50d4 /src
parente57ab4267033b826cee338a1fb24dc3dd1480782 (diff)
downloadsympathy-8e2bb9b2970ecb7ca3919b074e4474b878bd02bb.tar.gz
sympathy-8e2bb9b2970ecb7ca3919b074e4474b878bd02bb.tar.bz2
sympathy-8e2bb9b2970ecb7ca3919b074e4474b878bd02bb.zip
@@
Diffstat (limited to 'src')
-rw-r--r--src/ansi.c5
-rw-r--r--src/ansi.h7
2 files changed, 9 insertions, 3 deletions
diff --git a/src/ansi.c b/src/ansi.c
index 0194228..8d4d640 100644
--- a/src/ansi.c
+++ b/src/ansi.c
@@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";
/*
* $Log$
+ * Revision 1.25 2008/02/20 19:44:37 james
+ * @@
+ *
* Revision 1.24 2008/02/20 19:36:06 james
* @@
*
@@ -817,7 +820,7 @@ ansi_dispatch (ANSI * a, Context * c)
if (!a->terminal)
- return;
+ return 0;
red = a->terminal->recv (a->terminal, buf, sizeof (buf));
if (red <= 0)
diff --git a/src/ansi.h b/src/ansi.h
index 2808987..b88b329 100644
--- a/src/ansi.h
+++ b/src/ansi.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.10 2008/02/20 19:44:37 james
+ * @@
+ *
* Revision 1.9 2008/02/20 19:36:06 james
* @@
*
@@ -76,9 +79,9 @@ typedef struct ANSI_struct
int history_ptr;
- void (*dispatch)(struct ANSI_struct *,struct Context_struct *);
+ int (*dispatch)(struct ANSI_struct *,struct Context_struct *);
void (*update)(struct ANSI_struct *,struct Context_struct *);
- void (*oneshot)(struct ANSI_struct *,struct CRT_struct *);
+ void (*one_shot)(struct ANSI_struct *,struct CRT_struct *);
void (*reset)(struct ANSI_struct *,struct CRT_struct *);
void (*terminal_reset)(struct ANSI_struct *);
void (*close)(struct ANSI_struct *);