Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 1 | /* |
Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -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 | 7fd5d3d | 2013-12-04 13:06:40 -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 _ZRTPPACKETCLEARACK_H_ |
| 19 | #define _ZRTPPACKETCLEARACK_H_ |
| 20 | |
| 21 | /** |
| 22 | * @file ZrtpPacketClearAck.h |
| 23 | * @brief The ZRTP ClearAck message |
| 24 | * |
| 25 | * @ingroup GNU_ZRTP |
| 26 | * @{ |
| 27 | */ |
| 28 | |
| 29 | #include <libzrtpcpp/ZrtpPacketBase.h> |
| 30 | |
| 31 | /** |
| 32 | * Implement the ClearAck packet - Currently not used |
| 33 | * |
| 34 | * The ZRTP simple message ClearAck. The implementation sends this |
| 35 | * after switching to clear mode (non-SRTP mode). |
| 36 | * |
| 37 | * @author Werner Dittmann <Werner.Dittmann@t-online.de> |
| 38 | */ |
| 39 | class __EXPORT ZrtpPacketClearAck : public ZrtpPacketBase { |
| 40 | |
| 41 | public: |
| 42 | ZrtpPacketClearAck(); /// Creates a ClearAck packet with default data |
| 43 | ZrtpPacketClearAck(uint8_t* data); /// Creates a ClearAck packet from received data |
| 44 | virtual ~ZrtpPacketClearAck(); |
| 45 | |
| 46 | private: |
| 47 | ClearAckPacket_t data; |
| 48 | }; |
| 49 | |
| 50 | /** |
| 51 | * @} |
| 52 | */ |
| 53 | #endif // ZRTPPACKETCLEARACK |
| 54 | |