Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 1 | /* |
Alexandre Lision | 907ed2e | 2014-02-04 10:33:09 -0500 | [diff] [blame] | 2 | Copyright (C) 2006-2013 Werner Dittmann |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 3 | |
| 4 | This program is free software: you can redistribute it and/or modify |
Alexandre Lision | 907ed2e | 2014-02-04 10:33:09 -0500 | [diff] [blame] | 5 | it under the terms of the GNU Lesser General Public License as published by |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 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 _ZRTPPACKETHELLOACK_H_ |
| 19 | #define _ZRTPPACKETHELLOACK_H_ |
| 20 | |
| 21 | /** |
| 22 | * @file ZrtpPacketHelloAck.h |
| 23 | * @brief The ZRTP HelloAck message |
| 24 | * |
| 25 | * @ingroup GNU_ZRTP |
| 26 | * @{ |
| 27 | */ |
| 28 | |
| 29 | #include <libzrtpcpp/ZrtpPacketBase.h> |
| 30 | |
| 31 | /** |
| 32 | * Implement the HelloAck packet. |
| 33 | * |
| 34 | * The ZRTP simple message HelloAck. The implementation sends this |
| 35 | * after receiving a Hello packet. |
| 36 | * |
| 37 | * @author Werner Dittmann <Werner.Dittmann@t-online.de> |
| 38 | */ |
| 39 | |
| 40 | class __EXPORT ZrtpPacketHelloAck : public ZrtpPacketBase { |
| 41 | |
| 42 | public: |
| 43 | /// Creates a HelloAck packet with default data |
| 44 | ZrtpPacketHelloAck(); |
| 45 | |
| 46 | /// Creates a HelloAck packet from received data |
| 47 | ZrtpPacketHelloAck(uint8_t* data); |
| 48 | |
| 49 | virtual ~ZrtpPacketHelloAck(); |
| 50 | |
| 51 | private: |
| 52 | HelloAckPacket_t data; |
| 53 | }; |
| 54 | |
| 55 | /** |
| 56 | * @} |
| 57 | */ |
| 58 | #endif // ZRTPPACKETHELLOACK |
| 59 | |