/* * Copyright (c) 2000 * Traakan, Inc., Los Altos, CA * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice unmodified, this list of conditions, and the following * disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ /* * Project: NDMJOB * Ident: $Id: $ * * Description: * */ #ifndef NDMOS_OPTION_NO_NDMP2 extern int ndmp_2to9_error ( ndmp2_error *error2, ndmp9_error *error9); extern int ndmp_9to2_error ( ndmp9_error *error9, ndmp2_error *error2); extern int ndmp_2to9_data_get_state_reply ( ndmp2_data_get_state_reply *reply2, ndmp9_data_get_state_reply *reply9); extern int ndmp_9to2_data_get_state_reply ( ndmp9_data_get_state_reply *reply9, ndmp2_data_get_state_reply *reply2); extern int ndmp_2to9_tape_get_state_reply ( ndmp2_tape_get_state_reply *reply2, ndmp9_tape_get_state_reply *reply9); extern int ndmp_9to2_tape_get_state_reply ( ndmp9_tape_get_state_reply *reply9, ndmp2_tape_get_state_reply *reply2); extern int ndmp_2to9_mover_get_state_reply ( ndmp2_mover_get_state_reply *reply2, ndmp9_mover_get_state_reply *reply9); extern int ndmp_9to2_mover_get_state_reply ( ndmp9_mover_get_state_reply *reply9, ndmp2_mover_get_state_reply *reply2); extern int ndmp_2to9_mover_addr ( ndmp2_mover_addr *addr2, ndmp9_addr *addr9); extern int ndmp_9to2_mover_addr ( ndmp9_addr *addr9, ndmp2_mover_addr *addr2); extern int ndmp_2to9_unix_file_stat ( ndmp2_unix_file_stat *fstat2, ndmp9_file_stat *fstat9); extern int ndmp_9to2_unix_file_stat ( ndmp9_file_stat *fstat9, ndmp2_unix_file_stat *fstat2); extern int ndmp_2to9_pval ( ndmp2_pval *pval2, ndmp9_pval *pval9); extern int ndmp_9to2_pval ( ndmp9_pval *pval9, ndmp2_pval *pval2); extern int ndmp_2to9_pval_vec ( ndmp2_pval *pval2, ndmp9_pval *pval9, unsigned n_pval); extern int ndmp_9to2_pval_vec ( ndmp9_pval *pval9, ndmp2_pval *pval2, unsigned n_pval); extern int ndmp_2to9_name ( ndmp2_name *name2, ndmp9_name *name9); extern int ndmp_9to2_name ( ndmp9_name *name9, ndmp2_name *name2); extern int ndmp_2to9_name_vec ( ndmp2_name *name2, ndmp9_name *name9, unsigned n_name); extern int ndmp_9to2_name_vec ( ndmp9_name *name9, ndmp2_name *name2, unsigned n_name); extern struct reqrep_xlate ndmp2_reqrep_xlate_table[]; #endif /* !NDMOS_OPTION_NO_NDMP2 */