Go to the documentation of this file.
45 #define SID_SIZE (sizeof(x_session_id_zero.id))
void session_id_random(struct session_id *sid)
static bool buf_read(struct buffer *src, void *dest, int size)
static bool session_id_equal(const struct session_id *sid1, const struct session_id *sid2)
static bool session_id_write(const struct session_id *sid, struct buffer *buf)
static bool buf_write_prepend(struct buffer *dest, const void *src, int size)
static bool session_id_read(struct session_id *sid, struct buffer *buf)
Wrapper structure for dynamically allocated memory.
static bool buf_write(struct buffer *dest, const void *src, size_t size)
static bool session_id_defined(const struct session_id *sid1)
Garbage collection arena used to keep track of dynamically allocated memory.
static bool session_id_write_prepend(const struct session_id *sid, struct buffer *buf)
const char * session_id_print(const struct session_id *sid, struct gc_arena *gc)
const struct session_id x_session_id_zero