00001 /* -*- Mode: C; c-basic-offset:4 ; -*- 00002 * vim: ts=8 sts=4 sw=4 noexpandtab 00003 * 00004 * Copyright (C) 1997 University of Chicago. 00005 * See COPYRIGHT notice in top-level directory. 00006 */ 00007 00008 #ifndef _AD_PVFS2_h 00009 #define _AD_PVFS2_H 00010 #include "ad_pvfs2.h" 00011 00012 /* useful values: 00013 * 0: no debugging 00014 * CLIENT_DEBUG: debug client state machines 00015 */ 00016 #define ADIOI_PVFS2_DEBUG_MASK 0 00017 00018 00019 struct ADIOI_PVFS2_fs_s { 00020 PVFS_object_ref object_ref; 00021 PVFS_credentials credentials; 00022 } ADIOI_PVFS2_fs_s; 00023 00024 typedef struct ADIOI_PVFS2_fs_s ADIOI_PVFS2_fs; 00025 00026 00027 void ADIOI_PVFS2_Init(int *error_code ); 00028 void ADIOI_PVFS2_makeattribs(PVFS_sys_attr * attribs); 00029 void ADIOI_PVFS2_makecredentials(PVFS_credentials * credentials); 00030 void ADIOI_PVFS2_End(int *error_code); 00031 int ADIOI_PVFS2_End_call(MPI_Comm comm, int keyval, 00032 void *attribute_val, void *extra_state); 00033 int ADIOI_PVFS2_error_convert(int pvfs_error); 00034 00035 #endif