summaryrefslogtreecommitdiffstats
path: root/aclk/schema-wrappers/capability.cc
blob: af45740a9d0378aca60ad7f3a86816f7ede073af (plain)
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: GPL-3.0-or-later

#include "proto/aclk/v1/lib.pb.h"

#include "capability.h"

void capability_set(aclk_lib::v1::Capability *proto_capa, const struct capability *c_capa) {
    proto_capa->set_name(c_capa->name);
    proto_capa->set_enabled(c_capa->enabled);
    proto_capa->set_version(c_capa->version);
}