make it compile on osx

pull/181/head
Jeff 6 years ago
parent 97444b66c0
commit 74448d8ef4

@ -18,13 +18,13 @@ namespace llarp
std::vector< std::unique_ptr< llarp::dht::IMessage > > msgs;
bool
DecodeKey(llarp_buffer_t key, llarp_buffer_t* buf);
DecodeKey(llarp_buffer_t key, llarp_buffer_t* buf) override;
bool
BEncode(llarp_buffer_t* buf) const;
BEncode(llarp_buffer_t* buf) const override;
bool
HandleMessage(llarp::Router* router) const;
HandleMessage(llarp::Router* router) const override;
void
Clear() override;

@ -27,13 +27,13 @@ namespace llarp
operator=(const LinkIntroMessage& msg);
bool
DecodeKey(llarp_buffer_t key, llarp_buffer_t* buf);
DecodeKey(llarp_buffer_t key, llarp_buffer_t* buf) override;
bool
BEncode(llarp_buffer_t* buf) const;
BEncode(llarp_buffer_t* buf) const override;
bool
HandleMessage(llarp::Router* router) const;
HandleMessage(llarp::Router* router) const override;
bool
Sign(llarp::Crypto* c, const SecretKey& signKeySecret);

@ -42,19 +42,19 @@ namespace llarp
virtual bool
SelectHop(llarp_nodedb* db, const RouterContact& prev, RouterContact& cur,
size_t hop, PathRole roles);
size_t hop, PathRole roles) override;
virtual bool
ShouldBuildMore(llarp_time_t now) const;
ShouldBuildMore(llarp_time_t now) const override;
virtual bool
Stop();
Stop() override;
bool
ShouldRemove() const override;
llarp_time_t
Now() const;
Now() const override;
void
BuildOne(PathRole roles = ePathRoleAny);
@ -74,10 +74,10 @@ namespace llarp
GetTunnelEncryptionSecretKey() const;
virtual void
HandlePathBuilt(Path* p);
HandlePathBuilt(Path* p) override;
virtual void
HandlePathBuildTimeout(Path* p);
HandlePathBuildTimeout(Path* p) override;
};
} // namespace path

@ -78,22 +78,22 @@ namespace llarp
Name() const;
bool
ShouldPublishDescriptors(llarp_time_t now) const;
ShouldPublishDescriptors(llarp_time_t now) const override;
void
EnsureReplyPath(const ServiceInfo& addr);
bool
PublishIntroSet(llarp::Router* r);
PublishIntroSet(llarp::Router* r) override;
bool
PublishIntroSetVia(llarp::Router* r, path::Path* p);
bool
HandleGotIntroMessage(const llarp::dht::GotIntroMessage* msg);
HandleGotIntroMessage(const llarp::dht::GotIntroMessage* msg) override;
bool
HandleGotRouterMessage(const llarp::dht::GotRouterMessage* msg);
HandleGotRouterMessage(const llarp::dht::GotRouterMessage* msg) override;
bool
HandleHiddenServiceFrame(path::Path* p,
@ -120,7 +120,7 @@ namespace llarp
ForgetPathToService(const Address& remote);
bool
HandleDataMessage(const PathID_t&, ProtocolMessage* msg);
HandleDataMessage(const PathID_t&, ProtocolMessage* msg) override;
virtual bool
HandleWriteIPPacket(llarp_buffer_t pkt,
@ -129,9 +129,6 @@ namespace llarp
bool
ProcessDataMessage(ProtocolMessage* msg);
bool
HandleDataMessage(const PathID_t&);
/// ensure that we know a router, looks up if it doesn't
void
EnsureRouterIsKnown(const RouterID& router);
@ -151,10 +148,10 @@ namespace llarp
}
void
PutLookup(IServiceLookup* lookup, uint64_t txid);
PutLookup(IServiceLookup* lookup, uint64_t txid) override;
void
HandlePathBuilt(path::Path* path);
HandlePathBuilt(path::Path* path) override;
bool
SendToServiceOrQueue(const byte_t* addr, llarp_buffer_t payload,
@ -350,27 +347,27 @@ namespace llarp
HasPathToSNode(const RouterID& remote) const;
void
PutSenderFor(const ConvoTag& tag, const ServiceInfo& info);
PutSenderFor(const ConvoTag& tag, const ServiceInfo& info) override;
bool
GetCachedSessionKeyFor(const ConvoTag& remote,
const byte_t*& secret) const;
const byte_t*& secret) const override;
void
PutCachedSessionKeyFor(const ConvoTag& remote,
const SharedSecret& secret);
const SharedSecret& secret) override;
bool
GetSenderFor(const ConvoTag& remote, ServiceInfo& si) const;
GetSenderFor(const ConvoTag& remote, ServiceInfo& si) const override;
void
PutIntroFor(const ConvoTag& remote, const Introduction& intro);
PutIntroFor(const ConvoTag& remote, const Introduction& intro) override;
bool
GetIntroFor(const ConvoTag& remote, Introduction& intro) const;
GetIntroFor(const ConvoTag& remote, Introduction& intro) const override;
bool
GetConvoTagsForService(const ServiceInfo& si,
std::set< ConvoTag >& tag) const;
std::set< ConvoTag >& tag) const override;
void
PutNewOutboundContext(const IntroSet& introset);

Loading…
Cancel
Save