Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

chirp_matrix.h

Go to the documentation of this file.
00001 #ifndef CHIRP_ARRAY_H
00002 #define CHIRP_ARRAY_H
00003 
00004 #include "chirp_types.h"
00005 
00028 struct chirp_matrix * chirp_matrix_create( const char *host, const char *path, int width, int height, int element_size, int nhosts, time_t stoptime);
00029 
00038 struct chirp_matrix * chirp_matrix_open( const char * host, const char *path, time_t stoptime);
00039 
00048 int chirp_matrix_get_row( struct chirp_matrix *matrix, int y, void *data, time_t stoptime );
00049 
00059 int  chirp_matrix_set_row( struct chirp_matrix *matrix, int y, const void *data, time_t stoptime );
00060 
00071 int chirp_matrix_get_col( struct chirp_matrix *matrix, int x, void *data, time_t stoptime );
00072 
00083 int chirp_matrix_set_col( struct chirp_matrix *matrix, int x,const void *data, time_t stoptime );
00084 
00096 int chirp_matrix_get_range( struct chirp_matrix *matrix, int x, int y, int width, int height, void *data, time_t stoptime );
00097 
00109 int chirp_matrix_set_range( struct chirp_matrix *matrix, int x, int y, int width, int height, const void *data, time_t stoptime );
00110 
00122 int  chirp_matrix_get( struct chirp_matrix *matrix, int x, int y, void *data, time_t stoptime );
00123 
00135 int  chirp_matrix_set( struct chirp_matrix *matrix, int x, int y, const void *data, time_t stoptime );
00136 
00142 int chirp_matrix_width( struct chirp_matrix *matrix );
00143 
00149 int chirp_matrix_height( struct chirp_matrix *matrix );
00150 
00156 int chirp_matrix_element_size( struct chirp_matrix *matrix );
00157 
00163 int chirp_matrix_nhosts( struct chirp_matrix *matrix );
00164 
00172 int chirp_matrix_nfiles( struct chirp_matrix *matrix );
00173 
00179 void chirp_matrix_fsync( struct chirp_matrix *matrix, time_t stoptime );
00180 
00186 void chirp_matrix_close( struct chirp_matrix *matrix, time_t stoptime );
00187 
00194 int chirp_matrix_delete( const char *host, const char *path, time_t stoptime );
00195 
00196 #endif

Generated on Fri Oct 31 16:58:30 2008 for cctools by  doxygen 1.3.9.1