Function libaeron_sys::aeron_async_add_counter

source ยท
pub unsafe extern "C" fn aeron_async_add_counter(
    async_: *mut *mut aeron_async_add_counter_t,
    client: *mut aeron_t,
    type_id: i32,
    key_buffer: *const u8,
    key_buffer_length: usize,
    label_buffer: *const c_char,
    label_buffer_length: usize
) -> c_int
Expand description

Asynchronously add a counter using the given client and return an object to use to determine when the counter is available.

@param async object to use for polling completion. @param client to add the counter to. @param type_id for the counter. @param key_buffer for the counter. @param key_buffer_length for the counter. @param label_buffer for the counter. @param label_buffer_length for the counter. @return 0 for success or -1 for an error.