Zigbee Protocol Controller 1.6.0
uic_main_externals.h
Go to the documentation of this file.
1/* # License
2 * <b>Copyright 2021 Silicon Laboratories Inc. www.silabs.com</b>
3 *
4 * The licensor of this software is Silicon Laboratories Inc. Your use of this
5 * software is governed by the terms of Silicon Labs Master Software License
6 * Agreement (MSLA) available at
7 * www.silabs.com/about-us/legal/master-software-license-agreement. This
8 * software is distributed to you in Source Code format and is governed by the
9 * sections of the MSLA applicable to Source Code.
10 */
11
12#ifndef UIC_MAIN_EXTERNALS_H
13#define UIC_MAIN_EXTERNALS_H
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19#include <stdbool.h>
20
21#include "sys/process.h"
22#include "sl_status.h"
23
68#define UIC_MAIN_EXT_MAX_FDS 5
69
73typedef bool (*uic_ext_event_handler_t)(int);
74
96 uic_ext_event_handler_t ev_hndl_func,
97 struct process *ev_hndl_process);
98
108
109#ifdef __cplusplus
110}
111#endif
112
113#endif
sl_status_t uic_main_ext_register_rfd(int fdr, uic_ext_event_handler_t ev_hndl_func, struct process *ev_hndl_process)
Definition: uic_main_externals.c:44
sl_status_t uic_main_ext_unregister_rfd(int fdr)
Definition: uic_main_externals.c:70
bool(* uic_ext_event_handler_t)(int)
Definition: uic_main_externals.h:73
uint32_t sl_status_t
Definition: sl_status.h:139
SL Status Codes.
Definition: process.h:327