mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Marked PDU::clone_packet as deprecated.
This commit is contained in:
@@ -595,12 +595,14 @@ namespace Tins {
|
||||
* \brief Clones this pdu, filling the corresponding header with data
|
||||
* extracted from a buffer.
|
||||
*
|
||||
* \deprecated This method is obsolete.
|
||||
*
|
||||
* \param ptr The pointer to the from from which the data will be extracted.
|
||||
* \param total_sz The size of the buffer.
|
||||
* \return The cloned PDU.
|
||||
* \sa PDU::clone_packet
|
||||
*/
|
||||
PDU *clone_packet(const uint8_t *ptr, uint32_t total_sz);
|
||||
TINS_DEPRECATED(PDU *clone_packet(const uint8_t *ptr, uint32_t total_sz));
|
||||
|
||||
/**
|
||||
* \sa PDU::clone
|
||||
|
||||
Reference in New Issue
Block a user