## Description

Introduce C client SDK. There are two types of C APIs:
- `*_serialized` APIs accept JSON serialized string requests and responses. 
These APIs is for other high level programming languages.
- Normal APIs like `teaclave_user_login`.

An echo example using C client SDK is also implemented. Client APIs will be 
documented later when all useful languages are properly implemented.

CI passed: http://ci.mesalock-linux.org/mssun/incubator-mesatee/1131
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/470

-- Commit Summary --

  * Add C client sdk
  * Use RUSTFLAGS from env vars
  * Use RUSTFLAGS from env vars

-- File Changes --

    M cmake/scripts/test.sh (4)
    A examples/c/.clang-format (2)
    A examples/c/Makefile (38)
    A examples/c/builtin_echo.c (199)
    A sdk/c/Makefile (22)
    A sdk/c/cbindgen.toml (26)
    A sdk/c/teaclave_client_sdk.h (117)
    M sdk/rust/Cargo.toml (6)
    A sdk/rust/src/bindings.rs (350)
    M sdk/rust/src/lib.rs (112)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/470.patch
https://github.com/apache/incubator-teaclave/pull/470.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/470

Reply via email to