Untested attempt to get rid of SIGIO pain
[gnokii.git] / include / devices / device.h
index fabe975..f4b4153 100644 (file)
@@ -33,6 +33,8 @@ typedef enum {
 #endif /* UCLINUX */
 } GSM_ConnectionType;
 
+extern int device_portfd;
+
 #ifndef WIN32
   #include <unistd.h>
   #include "misc.h"
@@ -51,5 +53,6 @@ typedef enum {
 extern char PortDevice[GSM_MAX_DEVICE_NAME_LENGTH];
 
 bool StartConnection (char *port_device, bool with_odd_parity, GSM_ConnectionType con);
+extern void SigHandler(int status);
 
 #endif  /* __device_h */