X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=include%2Fdevices%2Fdevice.h;h=fabe9756e717c1c3b990a14132e066d513714c99;hp=5ad2dd321b1eff525ffbf69d1eeb114645bbb3d5;hb=c7dcdfd34d2bed9cc64c5c9603e51ef8c8271951;hpb=2d4a2c4357d6c4070e4a98128b22b89a7b8d7636 diff --git a/include/devices/device.h b/include/devices/device.h index 5ad2dd3..fabe975 100644 --- a/include/devices/device.h +++ b/include/devices/device.h @@ -22,6 +22,7 @@ IR (only with 61x0 models) and MBUS (61x0, 640, 6160) */ typedef enum { GCT_FBUS, /* FBUS connection. */ +#ifndef UCLINUX GCT_Infrared, /* FBUS over direct infrared connection - 61xx. */ GCT_Irda, /* FBUS over Irda sockets - 7110, 6210, etc. */ GCT_MBUS, /* MBUS */ @@ -29,23 +30,14 @@ typedef enum { GCT_Tekram, /* FBUS over direct infrared connection (Tekram device) - 61xx. */ GCT_AT, /* AT commands */ GCT_Default /* Old style module */ +#endif /* UCLINUX */ } GSM_ConnectionType; #ifndef WIN32 #include #include "misc.h" - int device_getfd(void); - - int device_open(__const char *__file, int __with_odd_parity); - void device_reset(void); - - size_t device_read(__ptr_t __buf, size_t __nbytes); size_t device_write(__const __ptr_t __buf, size_t __n); - - #ifdef DEBUG - void device_dumpserial(void); - #endif #else size_t device_write(const __ptr_t __buf, size_t __n); #endif