| 1 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 2 | |
| 3 | #ifndef ACLK_SCHEMA_CAPABILITY_H |
| 4 | #define ACLK_SCHEMA_CAPABILITY_H |
| 5 | |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | struct capability { |
| 11 | const char *name; |
| 12 | uint32_t version; |
| 13 | int enabled; |
| 14 | }; |
| 15 | |
| 16 | #ifdef __cplusplus |
| 17 | } |
| 18 | |
| 19 | #include "aclk/v1/lib.pb.h" |
| 20 | |
| 21 | void capability_set(aclk_lib::v1::Capability *proto_capa, const struct capability *c_capa); |
| 22 | #endif |
| 23 | |
| 24 | #endif /* ACLK_SCHEMA_CAPABILITY_H */ |