Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

packetread.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
#include <unistd.h>
#include <errno.h>

Include dependency graph for packetread.h:

Go to the source code of this file.

Defines

#define PACKET_SIZE   256
#define TIMEOUT   3

Functions

const char * readPacket (int fd)
QStringList getRemotes (int fd)
QStringList getButtons (int fd, const char *remoteName)


Define Documentation

#define PACKET_SIZE   256
 

Definition at line 28 of file packetread.h.

#define TIMEOUT   3
 

Definition at line 29 of file packetread.h.


Function Documentation

QStringList getButtons int  fd,
const char *  remoteName
 

Definition at line 139 of file packetread.h.

References i, QString::latin1(), list, NULL, Opie::Core::perror(), readPacket(), QValueList< T >::remove(), Opie::Internal::string(), and write().

QStringList getRemotes int  fd  ) 
 

Definition at line 86 of file packetread.h.

References i, list, NULL, Opie::Core::perror(), readPacket(), and write().

const char* readPacket int  fd  ) 
 

Definition at line 32 of file packetread.h.

References end, NULL, PACKET_SIZE, and TIMEOUT.

Referenced by getButtons(), and getRemotes().


Generated on Sat Nov 5 17:14:56 2005 for OPIE by  doxygen 1.4.2