:pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Sun Nov 25 22:56 CET 2001
[gnokii.git] / include / win32 / winserial.h
1 typedef void (*sigcallback)(char);
2 typedef void (*keepalive)();
3
4 int OpenConnection(char *szPort, sigcallback fn, keepalive ka);
5 int CloseConnection();
6 int WriteCommBlock(LPSTR lpByte, DWORD dwBytesToWrite);
7
8 int ReadCommBlock(LPSTR lpszBlock, int nMaxLength);
9 void device_changespeed(int speed);
10 void device_setdtrrts(int dtr, int rts);