Eep! Next bit flag after 1 and 2 is _4_, not 3. Perhaps it's time I
[sgt/putty] / windows / winstuff.h
index 85c99f4..2cc0bb9 100644 (file)
@@ -410,6 +410,7 @@ void init_ucs(Config *, struct unicode_data *);
  */
 #define HANDLE_FLAG_OVERLAPPED 1
 #define HANDLE_FLAG_IGNOREEOF 2
+#define HANDLE_FLAG_UNITBUFFER 4
 struct handle;
 typedef int (*handle_inputfn_t)(struct handle *h, void *data, int len);
 typedef void (*handle_outputfn_t)(struct handle *h, int new_backlog);
@@ -437,4 +438,9 @@ void agent_schedule_callback(void (*callback)(void *, void *, int),
                             void *callback_ctx, void *data, int len);
 #define FLAG_SYNCAGENT 0x1000
 
+/*
+ * Exports from winser.c.
+ */
+extern Backend serial_backend;
+
 #endif