nn_sockbase_vfptr

To be implemented by individual socket types.

extern (C) @system nothrow @nogc
struct nn_sockbase_vfptr {
void function(nn_sockbase*) stop
void function(nn_sockbase*) destroy
int function(nn_sockbase*, nn_pipe*) add
void function(nn_sockbase*, nn_pipe*) rm
void function(nn_sockbase*, nn_pipe*) in_
void function(nn_sockbase*, nn_pipe*) out_
int function(nn_sockbase*) events
int function(nn_sockbase*, nn_msg*) send
int function(nn_sockbase*, nn_msg*) recv
int function(nn_sockbase*, int level, int option, const void* optval, size_t optvallen) setopt
int function(nn_sockbase*, int level, int option, void* optval, size_t* optvallen) getopt
}

Meta