X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Fdevice.h;h=f4b4153feb1534569ea125c3e79dd694b3b8aabf;hp=fabe9756e717c1c3b990a14132e066d513714c99;hb=35acc80f23f9f81f3145a686a9c7df4b622b25fe;hpb=a1a9e7f1909a21b98a6b21a660d5bc9bd9f11f81 diff --git a/include/devices/device.h b/include/devices/device.h index fabe975..f4b4153 100644 --- a/include/devices/device.h +++ b/include/devices/device.h @@ -33,6 +33,8 @@ typedef enum { #endif /* UCLINUX */ } GSM_ConnectionType; +extern int device_portfd; + #ifndef WIN32 #include #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 */