Rename endian.h

pull/59/head
Michael 6 years ago
parent f91d2b9e11
commit 1c0cf72c02
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -1,5 +1,5 @@
#ifndef LLARP_ENDIAN_H
#define LLARP_ENDIAN_H
#ifndef LLARP_ENDIAN_HPP
#define LLARP_ENDIAN_HPP
// adapted from libi2pd

@ -1,5 +1,5 @@
#include <llarp/buffer.h>
#include <llarp/endian.h>
#include <llarp/endian.hpp>
#include <stdarg.h>
#include <stdio.h>

@ -1,4 +1,4 @@
#include <llarp/endian.h>
#include <llarp/endian.hpp>
#include <llarp/dnsd.hpp> // for llarp_handle_dnsd_recvfrom, dnsc
#include <llarp/logger.hpp>
@ -212,7 +212,7 @@ extern "C"
}
*/
question->name = m_qName;
question->type = get16bits(moveable);
(*pos) += 2;
// printf("Now1 at [%d]\n", buffer - start);
@ -244,7 +244,7 @@ extern "C"
//hexDump(moveable, 12);
//hexDumpAt(buffer, *pos, 12);
if(*moveable == '\xc0')
{
// hexDump(moveable, 2);

@ -1,4 +1,4 @@
#include <llarp/endian.h>
#include <llarp/endian.hpp>
#include <algorithm>
#include <llarp/ip.hpp>
#include "llarp/buffer.hpp"
@ -6,7 +6,6 @@
#ifndef _WIN32
#include <netinet/in.h>
#endif
#include <llarp/endian.h>
#include <map>
#include <algorithm>

@ -3,7 +3,7 @@
#include <llarp/messages/link_intro.hpp>
#include <llarp/messages/discard.hpp>
#include <llarp/buffer.hpp>
#include <llarp/endian.h>
#include <llarp/endian.hpp>
#include <utp.h>
#include <cassert>
#include <tuple>

Loading…
Cancel
Save