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