0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 08:24:08 +01:00

ircd::buffer: Add extern linkage for null buffers.

This commit is contained in:
Jason Volk 2017-09-08 02:17:44 -07:00
parent 4cb99ba1a4
commit 6eb54bb67a

View file

@ -22,6 +22,27 @@
#include <ircd/ctx/continuation.h>
#include <ircd/socket.h>
///////////////////////////////////////////////////////////////////////////////
//
// buffer.h - provide definition for the null buffers
//
const ircd::buffer::mutable_buffer
ircd::buffer::null_buffer
{
nullptr, nullptr
};
const ircd::buffer::mutable_buffers
ircd::buffer::null_buffers
{{
null_buffer
}};
///////////////////////////////////////////////////////////////////////////////
//
//
namespace ircd {
ip::tcp::resolver *resolver;