summaryrefslogtreecommitdiff
path: root/channels/h323/compat_h323.h
diff options
context:
space:
mode:
authorJeff Peeler <jpeeler@digium.com>2009-02-18 20:11:57 +0000
committerJeff Peeler <jpeeler@digium.com>2009-02-18 20:11:57 +0000
commitc8fe75da36d72d2fdc5ba2d0aa4031e713a1fe22 (patch)
treefd86877953d39fc69ebad3a8bb60d2f6b47635e7 /channels/h323/compat_h323.h
parent0fb9712a0ad6f997370e7804845dc6efd9fc3bce (diff)
Modify h323 to build against PTLib as well as the older PWLib
Several changes in PTLib have occurred requiring build time detection. Changes accounted for include the library name change, config option change, install location change, and a boolean type change which is handled by ast_ptlib.h. Also, the sed check has been modified to properly work with autoconf >= 2.62. (closes issue #14224) Reported by: bergolth Patches: asterisk-autoconf-sed.patch uploaded by bergolth (license 661) asterisk-pwlib-v3.patch uploaded by bergolth (license 661) Tested by: jpeeler git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@177162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323/compat_h323.h')
-rw-r--r--channels/h323/compat_h323.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/channels/h323/compat_h323.h b/channels/h323/compat_h323.h
index 5437898f4..53938350d 100644
--- a/channels/h323/compat_h323.h
+++ b/channels/h323/compat_h323.h
@@ -14,11 +14,11 @@ public:
MyH323TransportTCP(
H323EndPoint & endpoint, ///< H323 End Point object
PIPSocket::Address binding = PIPSocket::GetDefaultIpAny(), ///< Local interface to use
- BOOL listen = FALSE ///< Flag for need to wait for remote to connect
+ PBoolean listen = FALSE ///< Flag for need to wait for remote to connect
);
/**Connect to the remote party.
*/
- virtual BOOL Connect();
+ virtual PBoolean Connect();
};
#else
#define MyH323TransportTCP H323TransportTCP
@@ -35,7 +35,7 @@ public:
WORD remotePort = 0): H323TransportUDP(endpoint, binding, localPort, remotePort)
{
}
- virtual BOOL DiscoverGatekeeper(H323Gatekeeper &,
+ virtual PBoolean DiscoverGatekeeper(H323Gatekeeper &,
H323RasPDU &,
const H323TransportAddress &);
protected:
@@ -43,8 +43,8 @@ protected:
H323Gatekeeper *discoverGatekeeper;
H323RasPDU *discoverPDU;
const H323TransportAddress *discoverAddress;
- BOOL discoverResult;
- BOOL discoverReady;
+ PBoolean discoverResult;
+ PBoolean discoverReady;
PMutex discoverMutex;
};