00001 00002 00003 /// IOBuf Node 00004 typedef struct _IOBufNode 00005 { 00006 char * buf; 00007 struct _IOBufNode * next; 00008 } IOBufNode; 00009 00010 /// IOBuf structure 00011 typedef struct IOBuf 00012 { 00013 IOBufNode * first; 00014 IOBufNode * current; 00015 char * pos; 00016 00017 char * result; 00018 char * lastMod; 00019 char * eTag; 00020 int len; 00021 int code; 00022 00023 } IOBuf; 00024 00025 00026 00027 void aws_init (); 00028 void aws_set_id ( char * const str ); 00029 void aws_set_key ( char * const str ); 00030 void aws_set_keyid ( char * const str ); 00031 int aws_read_config ( char * const ID ); 00032 void aws_set_debug (int d); 00033 00034 00035 void s3_set_bucket ( char * const str ); 00036 int s3_get ( IOBuf * b, char * const file ); 00037 int s3_put ( IOBuf * b, char * const file ); 00038 void s3_set_host ( char * const str ); 00039 00040 00041 int sqs_create_queue ( IOBuf *b, char * const name ); 00042 int sqs_list_queues ( IOBuf *b, char * const prefix ); 00043 int sqs_get_queueattributes ( IOBuf *b, char * url, int *TimeOut, int *nMesg ); 00044 int sqs_set_queuevisibilitytimeout ( IOBuf *b, char * url, int sec ); 00045 int sqs_get_message ( IOBuf * b, char * const url, char * id ); 00046 int sqs_send_message ( IOBuf *b, char * const url, char * const msg ); 00047 int sqs_delete_message ( IOBuf * bf, char * const url, char * receipt ); 00048 00049 IOBuf * aws_iobuf_new (); 00050 void aws_iobuf_append ( IOBuf *B, char * d, int len ); 00051 int aws_iobuf_getline ( IOBuf * B, char * Line, int size ); 00052 void aws_iobuf_free ( IOBuf * bf ); 00053
Generated by Doxygen