Skip to content

Commit

Permalink
Stat (#29)
Browse files Browse the repository at this point in the history
* Base statistics gathering and monitoring
  • Loading branch information
bretambrose committed Feb 4, 2020
1 parent a3bd1ec commit 85dd9e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

C99 library implementation of AWS client-side authentication: standard credentials providers and signing.


## License

This library is licensed under the Apache 2.0 License.
10 changes: 6 additions & 4 deletions include/aws/auth/auth.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@

#include <aws/io/logging.h>

#define AWS_C_AUTH_PACKAGE_ID 6

enum aws_auth_errors {
AWS_AUTH_PROFILE_PARSE_RECOVERABLE_ERROR = 0x1800,
AWS_AUTH_PROFILE_PARSE_RECOVERABLE_ERROR = AWS_ERROR_ENUM_BEGIN_RANGE(AWS_C_AUTH_PACKAGE_ID),
AWS_AUTH_PROFILE_PARSE_FATAL_ERROR,
AWS_AUTH_SIGNING_UNSUPPORTED_ALGORITHM,
AWS_AUTH_SIGNING_MISMATCHED_CONFIGURATION,
Expand All @@ -30,16 +32,16 @@ enum aws_auth_errors {
AWS_AUTH_SIGNING_ILLEGAL_REQUEST_HEADER,
AWS_AUTH_SIGNING_INVALID_CONFIGURATION,

AWS_AUTH_ERROR_END_RANGE = 0x1BFF
AWS_AUTH_ERROR_END_RANGE = AWS_ERROR_ENUM_END_RANGE(AWS_C_AUTH_PACKAGE_ID)
};

enum aws_auth_log_subject {
AWS_LS_AUTH_GENERAL = 0x1800,
AWS_LS_AUTH_GENERAL = AWS_LOG_SUBJECT_BEGIN_RANGE(AWS_C_AUTH_PACKAGE_ID),
AWS_LS_AUTH_PROFILE,
AWS_LS_AUTH_CREDENTIALS_PROVIDER,
AWS_LS_AUTH_SIGNING,

AWS_LS_AUTH_LAST = (AWS_LS_AUTH_GENERAL + AWS_LOG_SUBJECT_SPACE_SIZE - 1)
AWS_LS_AUTH_LAST = AWS_LOG_SUBJECT_END_RANGE(AWS_C_AUTH_PACKAGE_ID)
};

AWS_EXTERN_C_BEGIN
Expand Down

0 comments on commit 85dd9e3

Please sign in to comment.