aws4c.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  IOBufNode
 IOBuf Node. More...
struct  IOBuf
 IOBuf structure. More...

Functions

void aws_init ()
 Initialize the library.
void aws_set_id (char *const str)
 Set AWS account ID to be read from .awsAuth file.
void aws_set_key (char *const str)
 Set AWS account access key.
void aws_set_keyid (char *const str)
 Set AWS account access key ID.
int aws_read_config (char *const ID)
 Read AWS authentication records.
void aws_set_debug (int d)
 Set debuging output.
void s3_set_bucket (char *const str)
 Select current S3 bucket.
int s3_get (IOBuf *b, char *const file)
 Download the file from the current bucket.
int s3_put (IOBuf *b, char *const file)
 Upload the file into currently selected bucket.
void s3_set_host (char *const str)
 Set S3 host.
int sqs_create_queue (IOBuf *b, char *const name)
 Create SQS queue.
int sqs_list_queues (IOBuf *b, char *const prefix)
 Retrieve URL of the queue.
int sqs_get_queueattributes (IOBuf *b, char *url, int *TimeOut, int *nMesg)
 Retrieve queue attributes.
int sqs_set_queuevisibilitytimeout (IOBuf *b, char *url, int sec)
 Set queue visibility timeout.
int sqs_get_message (IOBuf *b, char *const url, char *id)
 Retrieve a message from the queue.
int sqs_send_message (IOBuf *b, char *const url, char *const msg)
 Send a message to the queue.
int sqs_delete_message (IOBuf *bf, char *const url, char *receipt)
 Delete processed message from the queue.
IOBufaws_iobuf_new ()
 Create a new I/O buffer.
void aws_iobuf_append (IOBuf *B, char *d, int len)
 Append data to I/O buffer.
int aws_iobuf_getline (IOBuf *B, char *Line, int size)
 Read the next line from the buffer.
void aws_iobuf_free (IOBuf *bf)
 Release IO Buffer.


Generated by Doxygen