00001 #ifndef CHIRP_ARRAY_H
00002 #define CHIRP_ARRAY_H
00003
00004 #include "chirp_types.h"
00005
00006
00007 struct chirp_array * chirp_array_create( const char * host, const char *path, int width, int height, int element_size,time_t stoptime);
00008
00009
00010 struct chirp_array * chirp_array_open( const char * host, const char *path,time_t stoptime);
00011
00012
00013 int chirp_array_width( struct chirp_array *a );
00014 int chirp_array_height( struct chirp_array *a );
00015 int chirp_array_element_size( struct chirp_array *a );
00016
00017 int chirp_array_get_buffered( struct chirp_array *a, int i, int j, void *data,time_t stoptime);
00018
00019
00020 int chirp_array_get( struct chirp_array *a, int i, int j, void *data,time_t stoptime );
00021
00022
00023 int chirp_array_set( struct chirp_array *a, int i, int j, const void *data,time_t stoptime );
00024
00025
00026 int chirp_array_get_row( struct chirp_array *a, int i, void *data,time_t stoptime );
00027
00028
00029 int chirp_array_get_col( struct chirp_array *a, int i, void *data,time_t stoptime );
00030
00031
00032 int chirp_array_set_row( struct chirp_array *a, int i, const void *data,time_t stoptime );
00033
00034
00035 int chirp_array_set_col( struct chirp_array *a, int i,const void *data,time_t stoptime );
00036
00037
00038 int chirp_array_delete( struct chirp_array *a,time_t stoptime);
00039
00040
00041 void chirp_array_close( struct chirp_array *a,time_t stoptime );
00042
00043 #endif