blob: a7c25672485e04c1e84ef6716b877df6b2c7af6f [file] [log] [blame]
Alexandre Lision51140e12013-12-02 10:54:09 -05001/*
2 Copyright (C) 2006-2007 Werner Dittmann
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#ifndef _ZRTPPACKETCON2FACK_H_
19#define _ZRTPPACKETCON2FACK_H_
20
21/**
22 * @file ZrtpPacketConf2Ack.h
23 * @brief The ZRTP Conf2Ack message
24 *
25 * @ingroup GNU_ZRTP
26 * @{
27 */
28
29#include <libzrtpcpp/ZrtpPacketBase.h>
30
31/**
32 * Implement the Conf2Ack packet.
33 *
34 * The ZRTP simple message Conf2Ack. The implementation sends this
35 * after receiving and checking the Confirm2 message.
36 *
37 * @author Werner Dittmann <Werner.Dittmann@t-online.de>
38 */
39
40class __EXPORT ZrtpPacketConf2Ack : public ZrtpPacketBase {
41
42 public:
43 /// Creates a Conf2Ack packet with default data
44 ZrtpPacketConf2Ack();
45
46 ///Creates a Conf2Ack packet from received data
47 ZrtpPacketConf2Ack(char* data);
48
49 /// Normal destructor
50 virtual ~ZrtpPacketConf2Ack();
51
52 private:
53 Conf2AckPacket_t data;
54};
55
56/**
57 * @}
58 */
59#endif // ZRTPPACKETCONF2ACK
60