deimos.event2.tag

@file event2/tag.h

Helper functions for reading and writing tagged data onto buffers.

Public Imports

deimos.event2.util
public import deimos.event2.util;

Members

Aliases

evbuffer
alias evbuffer = deimos.event2._opaque_structs.evbuffer
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

evtag_consume
int evtag_consume(evbuffer* evbuf)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_encode_int
void evtag_encode_int(evbuffer* evbuf, ev_uint32_t number)

Encode an integer and store it in an evbuffer.

evtag_encode_int64
void evtag_encode_int64(evbuffer* evbuf, ev_uint64_t number)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_init
void evtag_init()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal
void evtag_marshal(evbuffer* evbuf, ev_uint32_t tag, const(void)* data, ev_uint32_t len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal_buffer
void evtag_marshal_buffer(evbuffer* evbuf, ev_uint32_t tag, evbuffer* data)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal_int
void evtag_marshal_int(evbuffer* evbuf, ev_uint32_t tag, ev_uint32_t integer)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal_int64
void evtag_marshal_int64(evbuffer* evbuf, ev_uint32_t tag, ev_uint64_t integer)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal_string
void evtag_marshal_string(evbuffer* buf, ev_uint32_t tag, const(char)* string)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_marshal_timeval
void evtag_marshal_timeval(evbuffer* evbuf, ev_uint32_t tag, timeval* tv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_payload_length
int evtag_payload_length(evbuffer* evbuf, ev_uint32_t* plength)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_peek
int evtag_peek(evbuffer* evbuf, ev_uint32_t* ptag)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_peek_length
int evtag_peek_length(evbuffer* evbuf, ev_uint32_t* plength)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal
int evtag_unmarshal(evbuffer* src, ev_uint32_t* ptag, evbuffer* dst)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal_fixed
int evtag_unmarshal_fixed(evbuffer* src, ev_uint32_t need_tag, void* data, size_t len)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal_header
int evtag_unmarshal_header(evbuffer* evbuf, ev_uint32_t* ptag)

Unmarshals the header and returns the length of the payload

evtag_unmarshal_int
int evtag_unmarshal_int(evbuffer* evbuf, ev_uint32_t need_tag, ev_uint32_t* pinteger)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal_int64
int evtag_unmarshal_int64(evbuffer* evbuf, ev_uint32_t need_tag, ev_uint64_t* pinteger)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal_string
int evtag_unmarshal_string(evbuffer* evbuf, ev_uint32_t need_tag, char** pstring)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
evtag_unmarshal_timeval
int evtag_unmarshal_timeval(evbuffer* evbuf, ev_uint32_t need_tag, timeval* ptv)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta