capability.h 427 B

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