mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Improved compile time using forward declarations and removing useless includes.
This commit is contained in:
11
src/pdu.cpp
11
src/pdu.cpp
@@ -20,10 +20,9 @@
|
||||
*/
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
#include "utils.h"
|
||||
#include "pdu.h"
|
||||
#include "rawpdu.h"
|
||||
#include "packetsender.h"
|
||||
|
||||
namespace Tins {
|
||||
|
||||
@@ -61,6 +60,14 @@ uint32_t PDU::size() const {
|
||||
return sz;
|
||||
}
|
||||
|
||||
bool PDU::send(PacketSender *) {
|
||||
return false;
|
||||
}
|
||||
|
||||
PDU *PDU::recv_response(PacketSender *) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void PDU::flag(uint32_t new_flag) {
|
||||
_flag = new_flag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user