Phy<> loses socketpair, gains raw FD monitoring.
This commit is contained in:
parent
3ed5edb295
commit
6ce64c2557
3 changed files with 57 additions and 71 deletions
|
@ -821,14 +821,13 @@ struct TestPhyHandlers
|
|||
}
|
||||
}
|
||||
|
||||
inline void phyOnFileDescriptorActivity(PhySocket *sock,void **uptr,bool readable,bool writable) {}
|
||||
|
||||
#ifdef __UNIX_LIKE__
|
||||
inline void phyOnUnixAccept(PhySocket *sockL,PhySocket *sockN,void **uptrL,void **uptrN) {}
|
||||
inline void phyOnUnixClose(PhySocket *sock,void **uptr) {}
|
||||
inline void phyOnUnixData(PhySocket *sock,void **uptr,void *data,unsigned long len) {}
|
||||
inline void phyOnUnixWritable(PhySocket *sock,void **uptr) {}
|
||||
inline void phyOnSocketPairEndpointClose(PhySocket *sock,void **uptr) {}
|
||||
inline void phyOnSocketPairEndpointData(PhySocket *sock,void **uptr,void *data,unsigned long len) {}
|
||||
inline void phyOnSocketPairEndpointWritable(PhySocket *sock,void **uptr) {}
|
||||
#endif // __UNIX_LIKE__
|
||||
};
|
||||
static int testPhy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue