1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #ifndef NRFS_INTERNAL_GENERIC_H
8 #define NRFS_INTERNAL_GENERIC_H
9 
10 #include <internal/nrfs_hdr.h>
11 #include <internal/nrfs_ctx.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 /** @brief Structure describing generic request or notification. */
18 typedef struct __NRFS_PACKED {
19 	nrfs_hdr_t hdr;	   /**< Header of the message. */
20 	nrfs_ctx_t ctx;	   /**< Context of the message. */
21 	uint8_t payload[]; /**< Message payload. */
22 } nrfs_generic_t;
23 
24 #ifdef __cplusplus
25 }
26 #endif
27 
28 #endif /* NRFS_INTERNAL_GENERIC_H */
29