Make nwatch independent of SICS
This commit is contained in:
8
nwatch.h
8
nwatch.h
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* N E T W A T C H E R
|
||||
* N E T W A T C H
|
||||
*
|
||||
* This module watches network connections for sockets becoming readable or
|
||||
* writeable and invokes callbacks. It also provides a timer mechanism.
|
||||
@ -7,8 +7,8 @@
|
||||
* Douglas Clowes, February 2007
|
||||
*
|
||||
*/
|
||||
#ifndef SICSNETWATCHER
|
||||
#define SICSNETWATCHER
|
||||
#ifndef NETWATCH_H
|
||||
#define NETWATCH_H
|
||||
|
||||
#define nwatch_read 1
|
||||
#define nwatch_write 2
|
||||
@ -107,4 +107,4 @@ int NetWatchGetMode(pNWContext handle);
|
||||
*/
|
||||
int NetWatchSetMode(pNWContext handle, int mode);
|
||||
|
||||
#endif /* SICSNETWATCHER */
|
||||
#endif /* NETWATCH_H */
|
||||
|
Reference in New Issue
Block a user