diff options
Diffstat (limited to '')
-rw-r--r-- | src/output/pcap.h | 8 | ||||
-rw-r--r-- | src/output/pcap.hh | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/src/output/pcap.h b/src/output/pcap.h index fccf58d..40146c2 100644 --- a/src/output/pcap.h +++ b/src/output/pcap.h @@ -18,15 +18,15 @@ * along with dnsjit. If not, see <http://www.gnu.org/licenses/>. */ -#include "core/log.h" -#include "core/receiver.h" -#include "core/producer.h" +#include <dnsjit/core/log.h> +#include <dnsjit/core/receiver.h> +#include <dnsjit/core/producer.h> #ifndef __dnsjit_output_pcap_h #define __dnsjit_output_pcap_h #include <pcap/pcap.h> -#include "output/pcap.hh" +#include <dnsjit/output/pcap.hh> #endif diff --git a/src/output/pcap.hh b/src/output/pcap.hh index 45f5150..6205333 100644 --- a/src/output/pcap.hh +++ b/src/output/pcap.hh @@ -37,5 +37,6 @@ void output_pcap_init(output_pcap_t* self); void output_pcap_destroy(output_pcap_t* self); int output_pcap_open(output_pcap_t* self, const char* file, int linktype, int snaplen); void output_pcap_close(output_pcap_t* self); +int output_pcap_have_errors(output_pcap_t* self); core_receiver_t output_pcap_receiver(output_pcap_t* self); |