mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Implemented matches_response on several PDUs. Added some test cases.
This commit is contained in:
@@ -79,6 +79,10 @@ void PDU::inner_pdu(PDU *next_pdu) {
|
||||
_inner_pdu = next_pdu;
|
||||
}
|
||||
|
||||
void PDU::inner_pdu(const PDU &next_pdu) {
|
||||
inner_pdu(next_pdu.clone());
|
||||
}
|
||||
|
||||
PDU *PDU::release_inner_pdu() {
|
||||
PDU *result = 0;
|
||||
std::swap(result, _inner_pdu);
|
||||
|
||||
Reference in New Issue
Block a user