c-libp2p/include/libp2p/nodeio/nodeio.h

7 lines
196 B
C
Raw Normal View History

2017-03-19 13:04:54 +00:00
#pragma once
#include "libp2p/net/stream.h"
int libp2p_nodeio_upgrade_stream(struct Stream* stream);
struct Node* libp2p_nodeio_get(struct Stream* stream, unsigned char* hash, int hash_length);