1
0
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:
Matias Fontanini
2013-04-02 21:05:53 -03:00
parent 97049140af
commit f2a5f73337
16 changed files with 352 additions and 12 deletions

View File

@@ -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);