pub unsafe fn mailimf_fields_add(
    mut fields: *mut mailimf_fields,
    mut field: *mut mailimf_field,
) -> libc::c_int {
    let mut r: libc::c_int = 0;
    r = clist_insert_after(
        (*fields).fld_list,
        (*(*fields).fld_list).last,
        field as *mut libc::c_void,
    );
    if r < 0i32 {
        return MAILIMF_ERROR_MEMORY as libc::c_int;
    }
    return MAILIMF_NO_ERROR as libc::c_int;
}
/*
 this function adds a field to the mailimf_fields structure

 @return MAILIMF_NO_ERROR will be returned on success,
 other code will be returned otherwise
*/
this function adds a field to the mailimf_fields structure
this function adds a field to the mailimf_fields structure
pub unsafe fn mailimf_fields_add(
    mut fields: *mut mailimf_fields,
    mut field: *mut mailimf_field,
) -> libc::c_int {
    let mut r: libc::c_int = 0;
    r = clist_insert_after(
        (*fields).fld_list,
        (*(*fields).fld_list).last,
        field 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_fields_add ( mut fields : * mut mailimf_fields , mut field : * mut mailimf_field , ) -> libc :: c_int { let mut r : libc :: c_int = 0 ; r = clist_insert_after ( ( * fields ) . fld_list , ( * ( * fields ) . fld_list ) . last , field as * mut libc :: c_void , ) ; if r < 0i32 { return MAILIMF_ERROR_MEMORY as libc :: c_int ; } return MAILIMF_NO_ERROR as libc :: c_int ; }
this function adds a field to the mailimf_fields structure
this function adds a field to the mailimf_fields structure
fields
*mut mailimf_fields
field
*mut mailimf_field
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
fields
*mut mailimf_fields
field
*mut mailimf_field