From 4ae993fd9022a6e6667d2a6d9624c88329c03187 Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Wed, 6 Jan 2021 18:02:50 +0100 Subject: [PATCH] fix typos --- include/channels.h | 22 +++++++++++----------- include/h235/h235chan.h | 12 ++++++------ include/h323rtp.h | 8 ++++---- include/h460/h4601.h | 6 +++--- include/rtp.h | 18 +++++++++--------- 5 files changed, 33 insertions(+), 33 deletions(-) diff --git a/include/channels.h b/include/channels.h index e3514da7..00f86e59 100644 --- a/include/channels.h +++ b/include/channels.h @@ -81,7 +81,7 @@ class H323ChannelNumber : public PObject H323ChannelNumber & operator++(int); operator unsigned() const { return number; } PBoolean IsFromRemote() const { return fromRemote; } - + protected: unsigned number; PBoolean fromRemote; @@ -202,7 +202,7 @@ class H323Channel : public PObject /**Fill out the OpenLogicalChannel PDU for the particular channel type. */ virtual PBoolean OnSendingPDU( - H245_OpenLogicalChannel & openPDU ///< Open PDU to send. + H245_OpenLogicalChannel & openPDU ///< Open PDU to send. ) const = 0; /**This is called when request to create a channel is received from a @@ -271,7 +271,7 @@ class H323Channel : public PObject Typically, used to indicate a problem in the received video stream. */ void SendMiscCommand(unsigned command); - + /** Send a flow control request to the remote */ @@ -467,7 +467,7 @@ class H323BidirectionalChannel : public H323Channel /////////////////////////////////////////////////////////////////////////////// -/**This class is for encpsulating the IETF Real Time Protocol interface. +/**This class is for encapsulating the IETF Real Time Protocol interface. */ class H245_DataType; class H323_RealTimeChannel : public H323UnidirectionalChannel @@ -491,7 +491,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel /**Fill out the OpenLogicalChannel PDU for the particular channel type. */ virtual PBoolean OnSendingPDU( - H245_OpenLogicalChannel & openPDU ///< Open PDU to send. + H245_OpenLogicalChannel & openPDU ///< Open PDU to send. ) const; /**This is called when request to create a channel is received from a @@ -540,7 +540,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel H245_DataType & /*dataType*/, ///< DataType Information H245_H2250LogicalChannelParameters & param ///< Open PDU to send. ) const { return OnSendingPDU(param); } - + /**Alternate RTP port information for Same NAT */ virtual PBoolean OnSendingAltPDU( @@ -607,7 +607,7 @@ class H323_RealTimeChannel : public H323UnidirectionalChannel /////////////////////////////////////////////////////////////////////////////// -/**This class is for encpsulating the IETF Real Time Protocol interface. +/**This class is for encapsulating the IETF Real Time Protocol interface. */ class H323_RTPChannel : public H323_RealTimeChannel { @@ -672,13 +672,13 @@ class H323_RTPChannel : public H323_RealTimeChannel */ virtual void SendUniChannelBackProbe(); - /** Read a DataFrame + /** Read a DataFrame */ virtual PBoolean ReadFrame(DWORD & rtpTimestamp, ///< TimeStamp RTP_DataFrame & frame ///< RTP data frame ); - /** Write a DataFrame + /** Write a DataFrame */ virtual PBoolean WriteFrame(RTP_DataFrame & frame ///< RTP data frame ); @@ -761,7 +761,7 @@ class H323_RTPChannel : public H323_RealTimeChannel /////////////////////////////////////////////////////////////////////////////// -/**This class is for encpsulating the IETF Real Time Protocol interface as used +/**This class is for encapsulating the IETF Real Time Protocol interface as used by a remote host. */ class H323SecureChannel; @@ -972,7 +972,7 @@ class H323DataChannel : public H323UnidirectionalChannel /**Fill out the OpenLogicalChannel PDU for the particular channel type. */ virtual PBoolean OnSendingPDU( - H245_OpenLogicalChannel & openPDU ///< Open PDU to send. + H245_OpenLogicalChannel & openPDU ///< Open PDU to send. ) const; /**This is called when request to create a channel is received from a diff --git a/include/h235/h235chan.h b/include/h235/h235chan.h index 039caf80..e5323785 100644 --- a/include/h235/h235chan.h +++ b/include/h235/h235chan.h @@ -46,7 +46,7 @@ #include "h235/h235caps.h" #include "h235/h235crypto.h" -/**This class is a derived Class for encpsulating the IETF Real Time Protocol +/**This class is a derived Class for encapsulating the IETF Real Time Protocol interface. It's only aim is to expose the Created UDP Data channel derive a new class for binding to the OpenSSL TLS system. */ @@ -57,7 +57,7 @@ class H323SecureRTPChannel : public H323_RTPChannel PCLASSINFO(H323SecureRTPChannel, H323_RTPChannel); public: - /**@name Construction/Deconstructor */ + /**@name Construction/Destruction */ //@{ /**Create a new channel. */ @@ -65,7 +65,7 @@ class H323SecureRTPChannel : public H323_RTPChannel H323Connection & connection, ///< Connection to endpoint for channel const H323Capability & capability, ///< Capability channel is using Directions direction, ///< Direction of channel - RTP_Session & rtp ///< RTP session for channel + RTP_Session & rtp ///< RTP session for channel ); /**Destroy Class. @@ -85,7 +85,7 @@ class H323SecureRTPChannel : public H323_RTPChannel /**Fill out the OpenLogicalChannel PDU for the particular channel type. */ virtual PBoolean OnSendingPDU( - H245_OpenLogicalChannel & openPDU /// Open PDU to send. + H245_OpenLogicalChannel & openPDU /// Open PDU to send. ) const; /**This is called when request to create a channel is received from a @@ -210,7 +210,7 @@ class H323SecureChannel : public H323Channel virtual void Receive(); virtual void Transmit(); - + virtual PBoolean Open(); virtual PBoolean Start(); @@ -238,4 +238,4 @@ class H323SecureChannel : public H323Channel }; -#endif \ No newline at end of file +#endif diff --git a/include/h323rtp.h b/include/h323rtp.h index fe7d44e0..25f3928c 100644 --- a/include/h323rtp.h +++ b/include/h323rtp.h @@ -56,7 +56,7 @@ class H245_TransportCapability; /////////////////////////////////////////////////////////////////////////////// -/**This class is for encpsulating the IETF Real Time Protocol interface. +/**This class is for encapsulating the IETF Real Time Protocol interface. */ class H323_RTP_Session : public RTP_UserData { @@ -85,7 +85,7 @@ class H323_RTP_Session : public RTP_UserData ) const; /**Callback from the RTP session for statistics monitoring. - This is called at the end of a call to indicating + This is called at the end of a call to indicating that the statistics of the call. The default behaviour calls H323Connection::OnFinalStatistics(). @@ -262,7 +262,7 @@ class H323_RTP_UDP : public H323_RTP_Session /**This is called when a gatekeeper wants to get status information from the endpoint. - The default behaviour calls the ancestor functon and then fills in the + The default behaviour calls the ancestor functon and then fills in the transport fields. */ virtual void OnSendRasInfo( @@ -288,7 +288,7 @@ class H323_RTP_UDP : public H323_RTP_Session ); //@} #endif - + protected: virtual PBoolean ExtractTransport( const H245_TransportAddress & pdu, diff --git a/include/h460/h4601.h b/include/h460/h4601.h index e129b84b..e2ae3a85 100644 --- a/include/h460/h4601.h +++ b/include/h460/h4601.h @@ -718,7 +718,7 @@ class H460_Feature : public H225_FeatureDescriptor */ void SetCurrentTable(H460_FeatureTable & table); - /** Set the curernt Feature Table from Parameter + /** Set the current Feature Table from Parameter */ void SetCurrentTable(H460_FeatureParameter & param); @@ -752,8 +752,8 @@ class H460_Feature : public H225_FeatureDescriptor */ static PStringArray GetFeatureFriendlyName() { return PStringArray("empty"); }; - /** Get the purpose of the the Feature whether for Signalling,RAS or both. This determines - when the class is instantized + /** Get the purpose of the the Feature whether for Signalling, RAS or both. This determines + when the class is instantiated */ static int GetPurpose() { return FeatureBaseAll; }; diff --git a/include/rtp.h b/include/rtp.h index 566829ab..66828c39 100644 --- a/include/rtp.h +++ b/include/rtp.h @@ -50,7 +50,7 @@ class PNatMethod; #endif /////////////////////////////////////////////////////////////////////////////// -// +// // class to hold the QoS definitions for an RTP channel #if P_QOS @@ -269,7 +269,7 @@ class RTP_ControlFrame : public PBYTEArray PUInt32b ntp_frac; PUInt32b rtp_ts; /* RTP timestamp */ PUInt32b psent; /* packets sent */ - PUInt32b osent; /* octets sent */ + PUInt32b osent; /* octets sent */ }; enum DescriptionTypes { @@ -340,7 +340,7 @@ class RTP_MultiControlFrame : public PBYTEArray }; -/**This class is for encpsulating the IETF Real Time Protocol interface. +/**This class is for encapsulating the IETF Real Time Protocol interface. */ class RTP_UDP; class RTP_UserData; @@ -383,7 +383,7 @@ class RTP_Session : public PObject and the ReadBufferedData() function simply calls ReadData(). Once a jitter buffer has been created it cannot be removed, though its size may be adjusted. - + If the jitterDelay paramter is zero, it destroys the jitter buffer attached to this RTP session. */ @@ -493,8 +493,8 @@ class RTP_Session : public PObject class SenderReport : public PObject { PCLASSINFO(SenderReport, PObject); public: - SenderReport() - : sourceIdentifier(0), realTimestamp1970(0), + SenderReport() + : sourceIdentifier(0), realTimestamp1970(0), rtpTimestamp(0), packetsSent(0), octetsSent(0) {} void PrintOn(ostream &) const; @@ -844,7 +844,7 @@ class RTP_UserData : public PObject ) const; /**Callback from the RTP session for statistics monitoring. - This is called at the end of a call to indicating + This is called at the end of a call to indicating that the statistics of the call. The default behaviour does nothing. @@ -868,7 +868,7 @@ class RTP_UserData : public PObject -/**This class is for encpsulating the IETF Real Time Protocol interface. +/**This class is for encapsulating the IETF Real Time Protocol interface. */ class RTP_SessionManager : public PObject { @@ -919,7 +919,7 @@ class RTP_SessionManager : public PObject unsigned sessionID ///< Session ID to release. ); - /**Move the session. + /**Move the session. */ void MoveSession( unsigned oldSessionID, ///< Session ID from.