Loading...
Searching...
No Matches
registry.h
1#pragma once
2
3#include "types.h"
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8
10
12typedef struct SubGhzProtocol SubGhzProtocol;
13
15 const SubGhzProtocol** items;
16 const size_t size;
17};
18
25const SubGhzProtocol* subghz_protocol_registry_get_by_name(
26 const SubGhzProtocolRegistry* protocol_registry,
27 const char* name);
28
35const SubGhzProtocol* subghz_protocol_registry_get_by_index(
36 const SubGhzProtocolRegistry* protocol_registry,
37 size_t index);
38
44size_t subghz_protocol_registry_count(const SubGhzProtocolRegistry* protocol_registry);
45
46#ifdef __cplusplus
47}
48#endif
Definition environment.c:4
Definition types.h:129
Definition registry.h:14