Function libcqdb::cqdb_to_id[][src]

#[no_mangle]pub extern "C" fn cqdb_to_id(db: *mut cqdb_t, s: *const c_char) -> c_int

Retrieve the identifier associated with a string.

Returns the non-negative identifier if successful, negative status code otherwise.