1
0
mirror of https://github.com/danog/libtgvoip.git synced 2024-11-26 12:14:39 +01:00

Misc fixes

This commit is contained in:
Daniil Gentili 2020-03-29 17:20:17 +02:00
parent 23fafdf575
commit 1ba8738c9f
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
5 changed files with 8 additions and 7 deletions

View File

@ -4,6 +4,7 @@
#include "../protocol/packets/PacketSender.h"
#include <deque>
#include <list>
#if defined HAVE_CONFIG_H || defined TGVOIP_USE_INSTALLED_OPUS
#include <opus/opus.h>
#else

View File

@ -32,7 +32,7 @@ struct tgvoip_congestionctl_packet_t
};
typedef struct tgvoip_congestionctl_packet_t tgvoip_congestionctl_packet_t;
class Packet;
struct Packet;
struct CongestionControlPacket
{
CongestionControlPacket(uint32_t _seq, uint8_t _streamId);

View File

@ -19,9 +19,9 @@ inline bool seqgte(uint32_t s1, uint32_t s2)
return s1 == s2 || seqgt(s1, s2);
}
class RecentOutgoingPacket;
class PendingOutgoingPacket;
class Packet;
struct RecentOutgoingPacket;
struct PendingOutgoingPacket;
struct Packet;
// Local and remote packet history management
class PacketManager final
{

View File

@ -328,7 +328,7 @@ struct Wrapped : public Serializable, SingleChoice<Wrapped<T>>
std::shared_ptr<T> d;
};
class OutputBytes;
struct OutputBytes;
struct Bytes : public Serializable,
SingleChoice<OutputBytes>
{

View File

@ -24,8 +24,8 @@ namespace tgvoip
{
class Buffer;
class NetworkAddress;
class Serializable;
class VersionInfo;
struct Serializable;
struct VersionInfo;
class BufferInputStream
{