2
Copyright (C) 2010- The University of Notre Dame
3
This software is distributed under the GNU General Public License.
4
See the file COPYING for details.
9
#include <hash_table.h>
14
#define S3_ACL_EMAIL 3
16
#define S3_ACL_FULL_CONTROL 0x01
17
#define S3_ACL_READ 0x02
18
#define S3_ACL_WRITE 0x04
19
#define S3_ACL_READ_ACP 0x08
20
#define S3_ACL_WRITE_ACP 0x10
23
struct s3_acl_object {
29
int s3_getacl(char* bucketname, char* filename, char *owner, struct hash_table* acls, const char* access_key_id, const char* access_key);
30
int s3_setacl(char* bucketname, char* filename, const char* owner, struct hash_table* acls, const char* access_key_id, const char* access_key);