pub unsafe fn mailimf_address_list_add(
    mut address_list: *mut mailimf_address_list,
    mut addr: *mut mailimf_address,
) -> libc::c_int {
    let mut r: libc::c_int = 0;
    r = clist_insert_after(
        (*address_list).ad_list,
        (*(*address_list).ad_list).last,
        addr as *mut libc::c_void,
    );
    if r < 0i32 {
        return MAILIMF_ERROR_MEMORY as libc::c_int;
    }
    return MAILIMF_NO_ERROR as libc::c_int;
}
/*
  mailimf_address_list_add adds a mailbox to the list of addresses

  @return MAILIMF_NO_ERROR will be returned on success,
  other code will be returned otherwise
*/
mailimf_address_list_add adds a mailbox to the list of addresses
mailimf_address_list_add adds a mailbox to the list of addresses
pub unsafe fn mailimf_address_list_add(
    mut address_list: *mut mailimf_address_list,
    mut addr: *mut mailimf_address,
) -> libc::c_int {
    let mut r: libc::c_int = 0;
    r = clist_insert_after(
        (*address_list).ad_list,
        (*(*address_list).ad_list).last,
        addr as *mut libc::c_void,
    );
    if r < 0i32 {
        return MAILIMF_ERROR_MEMORY as libc::c_int;
    }
    return MAILIMF_NO_ERROR as libc::c_int;
}
pub unsafe fn mailimf_address_list_add ( mut address_list : * mut mailimf_address_list , mut addr : * mut mailimf_address , ) -> libc :: c_int { let mut r : libc :: c_int = 0 ; r = clist_insert_after ( ( * address_list ) . ad_list , ( * ( * address_list ) . ad_list ) . last , addr as * mut libc :: c_void , ) ; if r < 0i32 { return MAILIMF_ERROR_MEMORY as libc :: c_int ; } return MAILIMF_NO_ERROR as libc :: c_int ; }
mailimf_address_list_add adds a mailbox to the list of addresses
mailimf_address_list_add adds a mailbox to the list of addresses
address_list
*mut mailimf_address_list
addr
*mut mailimf_address
MAILIMF_NO_ERROR will be returned on success,
other code will be returned otherwise
MAILIMF_NO_ERROR will be returned on success other code will be returned otherwise
address_list
*mut mailimf_address_list
addr
*mut mailimf_address