Zephyr API Documentation
4.1.99
A Scalable Open Source RTOS
4.1.99
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
Files
File List
Globals
All
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Macros
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
▼
Zephyr API Documentation
►
Introduction
Deprecated List
►
Topics
►
Data Structures
▼
Files
►
File List
►
Globals
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
handlers.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2022 Nordic Semiconductor ASA
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef H_MCUMGR_MGMT_HANDLERS_
8
#define H_MCUMGR_MGMT_HANDLERS_
9
10
#include <
zephyr/kernel.h
>
11
#include <
zephyr/sys/util_macro.h
>
12
#include <
zephyr/sys/iterable_sections.h
>
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
/* __cplusplus */
17
26
typedef
void (*
mcumgr_handler_init_t
)(void);
27
29
struct
mcumgr_handler {
31
const
mcumgr_handler_init_t
init;
32
};
43
#define MCUMGR_HANDLER_DEFINE(name, _init) \
44
STRUCT_SECTION_ITERABLE(mcumgr_handler, name) = { \
45
.init = _init, \
46
}
43
#define MCUMGR_HANDLER_DEFINE(name, _init) \
…
47
48
#ifdef __cplusplus
49
}
50
#endif
/* __cplusplus */
51
56
#endif
/* H_MCUMGR_MGMT_HANDLERS_ */
mcumgr_handler_init_t
void(* mcumgr_handler_init_t)(void)
Type definition for a MCUmgr handler initialisation function.
Definition
handlers.h:26
kernel.h
Public kernel APIs.
iterable_sections.h
util_macro.h
Macro utilities.
zephyr
mgmt
mcumgr
mgmt
handlers.h
Generated on Mon Mar 17 2025 12:04:28 for Zephyr API Documentation by
1.12.0