Function libcqdb::cqdb_writer_put [−][src]
#[no_mangle]pub extern "C" fn cqdb_writer_put(
dbw: *mut cqdb_writer_t,
s: *const c_char,
id: c_int
) -> c_int
Put a string/identifier association to the database.
This function append a string/identifier association into the database. Make sure that the string and/or identifier have never been inserted to the database and that the identifier is a non-negative value.