Skip to content

C client SDK#470

Merged
mssun merged 5 commits intoapache:masterfrom
mssun:c-client-sdk
Jan 26, 2021
Merged

C client SDK#470
mssun merged 5 commits intoapache:masterfrom
mssun:c-client-sdk

Conversation

@mssun
Copy link
Member

@mssun mssun commented Jan 26, 2021

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

@mssun mssun requested a review from m4sterchain January 26, 2021 06:02
jvz
jvz previously approved these changes Jan 26, 2021
Copy link
Member

@jvz jvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks decent, though I'm not too good with Rust, so I can only offer some C style advice ;)

jvz
jvz previously approved these changes Jan 26, 2021
Copy link
Member

@jvz jvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had I scrolled further, I would've noticed the bindings.rs file it was generated from!

@mssun
Copy link
Member Author

mssun commented Jan 26, 2021

Thanks for the review! Merged.

@mssun mssun merged commit f0fc059 into apache:master Jan 26, 2021
@mssun mssun deleted the c-client-sdk branch January 26, 2021 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants