Skip to content

Commit

Permalink
Merge pull request #19 from awslabs/Stat
Browse files Browse the repository at this point in the history
* Base statistics gathering and monitoring
  • Loading branch information
bretambrose authored Feb 4, 2020
2 parents d6640ed + ddd7afc commit b30e81b
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 1 deletion.
66 changes: 66 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# IDE Artifacts
.metadata
.build
.idea
*.d
Debug
Release
*~
*#
*.iml
tags

#vim swap file
*.swp

#compiled python files
*.pyc

#Vagrant stuff
Vagrantfile
.vagrant

#Mac stuff
.DS_Store

#doxygen
doxygen/html/
doxygen/latex/


#cmake artifacts
dependencies
_build
build
_build_*
cmake-build*

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

12 changes: 11 additions & 1 deletion include/aws/cal/cal.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,31 @@
* permissions and limitations under the License.
*/

#include <aws/common/common.h>

#include <aws/cal/exports.h>

struct aws_allocator;

#define AWS_C_CAL_PACKAGE_ID 7

enum aws_cal_errors {
AWS_ERROR_CAL_SIGNATURE_VALIDATION_FAILED = 0x1C00,
AWS_ERROR_CAL_SIGNATURE_VALIDATION_FAILED = AWS_ERROR_ENUM_BEGIN_RANGE(AWS_C_CAL_PACKAGE_ID),
AWS_ERROR_CAL_MISSING_REQUIRED_KEY_COMPONENT,
AWS_ERROR_CAL_INVALID_KEY_LENGTH_FOR_ALGORITHM,
AWS_ERROR_CAL_UNKNOWN_OBJECT_IDENTIFIER,
AWS_ERROR_CAL_MALFORMED_ASN1_ENCOUNTERED,
AWS_ERROR_CAL_MISMATCHED_DER_TYPE,
AWS_ERROR_CAL_UNSUPPORTED_ALGORITHM,

AWS_ERROR_CAL_END_RANGE = AWS_ERROR_ENUM_END_RANGE(AWS_C_CAL_PACKAGE_ID)
};

AWS_EXTERN_C_BEGIN

AWS_CAL_API void aws_cal_library_init(struct aws_allocator *allocator);
AWS_CAL_API void aws_cal_library_clean_up(void);

AWS_EXTERN_C_END

#endif /* AWS_CAL_CAL_H */

0 comments on commit b30e81b

Please sign in to comment.