aboutsummaryrefslogtreecommitdiffstats
path: root/src/ansi.h
diff options
context:
space:
mode:
authorjames <>2008-02-07 00:43:27 +0000
committerjames <>2008-02-07 00:43:27 +0000
commite76b1659fd1adbc4bbf6cda15ee885fcbf6c5057 (patch)
tree8ac583c498a5801434cf8bfa98e8499da87a4a58 /src/ansi.h
parent6e577fe9ddf5cb2f92b347a177785e3738f062ff (diff)
downloadsympathy-e76b1659fd1adbc4bbf6cda15ee885fcbf6c5057.tar.gz
sympathy-e76b1659fd1adbc4bbf6cda15ee885fcbf6c5057.tar.bz2
sympathy-e76b1659fd1adbc4bbf6cda15ee885fcbf6c5057.zip
*** empty log message ***
Diffstat (limited to 'src/ansi.h')
-rw-r--r--src/ansi.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/ansi.h b/src/ansi.h
index 1b84ddc..bc24524 100644
--- a/src/ansi.h
+++ b/src/ansi.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.4 2008/02/07 00:43:27 james
+ * *** empty log message ***
+ *
* Revision 1.3 2008/02/07 00:39:13 james
* *** empty log message ***
*
@@ -29,13 +32,14 @@
#define ANSI_INVAL -1
#define ANSI_ESCAPE_BUF_LEN 10
-#define ANSI_ESCAPE_TIMEOUT 100000 /*in ms*/
+#define ANSI_ESCAPE_TIMEOUT 100000 /*in ms */
-typedef struct {
-int in_escape;
-struct timeval last_escape;
-char escape_buf[ANSI_ESCAPE_BUF_LEN];
-int escape_ptr;
+typedef struct
+{
+ int in_escape;
+ struct timeval last_escape;
+ char escape_buf[ANSI_ESCAPE_BUF_LEN];
+ int escape_ptr;
} ANSI_Parser;
typedef struct