1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-sigv4/ss-s3-put.h
Jed Lu c82910d30c ss: auth: sigv4
Add SS pieces for Sigv4 auth support
2021-01-05 10:56:38 +00:00

21 lines
497 B
C

/*
* S3 Put Object via Secure Streams minimal sigv4 example
*
* Written in 2010-2020 by Andy Green <andy@warmcat.com>
* Amit Pachore <apachor@amazon.com>
* securestreams-dev@amazon.com
*
* This file is made available under the Creative Commons CC0 1.0
* Universal Public Domain Dedication.
*/
typedef struct ss_s3_put {
struct lws_ss_handle *ss;
void *opaque_data;
/* ... application specific state ... */
size_t total;
size_t pos;
uint8_t *buf;
} ss_s3_put_t;