Modify h323 to build against PTLib as well as the older PWLib
[asterisk/asterisk.git] / channels / h323 / compat_h323.cxx
index eec7361..8eb73a9 100644 (file)
 MyH323TransportTCP::MyH323TransportTCP(
                                H323EndPoint & endpoint,
                                PIPSocket::Address binding,
-                               BOOL listen)
+                               PBoolean listen)
        : H323TransportTCP(endpoint, binding, listen)
 {
 }
 
-BOOL MyH323TransportTCP::Connect()
+PBoolean MyH323TransportTCP::Connect()
 {
        if (IsListening())
                return TRUE;
@@ -91,7 +91,7 @@ BOOL MyH323TransportTCP::Connect()
 }
 #endif
 
-BOOL MyH323TransportUDP::DiscoverGatekeeper(H323Gatekeeper &gk, H323RasPDU &pdu, const H323TransportAddress &address)
+PBoolean MyH323TransportUDP::DiscoverGatekeeper(H323Gatekeeper &gk, H323RasPDU &pdu, const H323TransportAddress &address)
 {
        PThread *thd = PThread::Current();