diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 14:32:01 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-09-02 14:32:01 -0700 |
| commit | 4838cbc350a7608ebe345a821ef32bb01a8aeca7 (patch) | |
| tree | 6cf3695e2a5beb9cdad505e1882baea9afbd3a5c /selftest.cpp | |
| parent | b11ffc9635204f11daac4f20596dc4e3da687eee (diff) | |
| download | infinitytier-4838cbc350a7608ebe345a821ef32bb01a8aeca7.tar.gz infinitytier-4838cbc350a7608ebe345a821ef32bb01a8aeca7.zip | |
Unix domain sockets in Phy<>
Diffstat (limited to 'selftest.cpp')
| -rw-r--r-- | selftest.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/selftest.cpp b/selftest.cpp index 8af3fc0b..15afe52e 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -791,6 +791,13 @@ struct TestPhyHandlers testPhyInstance->close(sock,true); } } + +#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) {} +#endif // __UNIX_LIKE__ }; static int testPhy() { |
