Function gnunet_sys::GNUNET_buffer_write_str[][src]

pub unsafe extern "C" fn GNUNET_buffer_write_str(
    buf: *mut GNUNET_Buffer,
    str_: *const c_char
)

Write a 0-terminated string to a buffer, excluding the 0-terminator.

Grows the buffer if necessary.

@param buf the buffer to write to @param str the string to write to @a buf