summaryrefslogtreecommitdiffstats
path: root/aclk/schema-wrappers/capability.cc
blob: 769806f90ba040e646bef3e87e909d2ce6a374a1 (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, 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);
}