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:
parent
4cb99ba1a4
commit
6eb54bb67a
1 changed files with 21 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue