You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Mingshen Sun <no...@github.com.INVALID> on 2021/01/26 06:02:53 UTC
[apache/incubator-teaclave] C client SDK (#470)
## 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
Re: [apache/incubator-teaclave] C client SDK (#470)
Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #470 into master.
--
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#event-4252163790
Re: [apache/incubator-teaclave] C client SDK (#470)
Posted by Mingshen Sun <no...@github.com.INVALID>.
Thanks for the review! Merged.
--
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#issuecomment-767745980