Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

nsutil.h File Reference

#include <time.h>
#include "pctimer.h"

Go to the source code of this file.

Defines

#define MAXLEN   16384
#define OSTYPESTR   "Linux"

Functions

int rprintf (const char *fmt,...)
int rexit (int errcode)
void updateMaxFd (int fd)
void rtime (time_t *t)
void rsleep (int ms)

Variables

int max_fd


Define Documentation

#define MAXLEN   16384
 

Definition at line 31 of file nsutil.h.

Referenced by cmdDataFrame(), getResponseCode(), handleSamples(), main(), monitorLog(), and writeBytes().

#define OSTYPESTR   "Linux"
 

Definition at line 43 of file nsutil.h.

Referenced by main(), and stringifyErrorCode().


Function Documentation

int rexit int  errcode  ) 
 

Definition at line 63 of file nsutil.c.

Referenced by doesMatchOpenCNV(), doesMatchP2(), main(), openSerialPort(), rbindAll(), rconnectName(), setblocking(), and setnonblocking().

int rprintf const char *  fmt,
... 
 

Definition at line 49 of file nsutil.c.

References buf.

Referenced by cmdgo(), cmdnogo(), cmdRole(), cmdSetHeader(), decodeCommand(), doesMatchOpenCNV(), doesMatchP2(), doesMatchP3(), eatCharacter(), getOK(), handleSamples(), idleHandler(), main(), makeNewEntryForFD(), my_read(), openSerialPort(), printHelp(), raccept(), rbindAll(), rconnectName(), readEDFString(), sendClientMsg(), serverDied(), setnonblocking(), showCounts(), writeBuffers(), writeBufferToFile(), and writeBytes().

void rsleep int  ms  ) 
 

Definition at line 70 of file nsutil.c.

Referenced by main(), and rconnectName().

void rtime time_t *  t  ) 
 

Definition at line 38 of file nsutil.c.

Referenced by main(), makeNewClient(), and sendClientMsg().

void updateMaxFd int  fd  ) 
 

Definition at line 43 of file nsutil.c.

References max_fd.

Referenced by idleHandler(), and main().


Variable Documentation

int max_fd
 

Definition at line 35 of file nsutil.h.

Referenced by idleHandler(), main(), rselect(), rselect_timed(), updateMaxFd(), and waitForNetEvent().


Generated on Tue Feb 8 00:05:19 2005 for Neuroserver by doxygen 1.3.3