Unify Framework Lib 1.6.0
uic_main_externals_internal.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_INTERNAL_H
13#define UIC_MAIN_EXTERNALS_INTERNAL_H
14
15/* contiki includes */
16#include "contiki-conf.h"
17#include "process.h"
18#include "lib/list.h"
19
20#include "uic_main_externals.h"
21
33/* TODO-maybe: error handler? */
36typedef struct {
44 int fd;
46
51typedef void (*fd_handler_t)(const uic_main_ext_fd_registration_t *reg);
52
66
76
84
88#endif
uint32_t clock_time_t
Definition: contiki-conf.h:31
void ** list_t
Definition: list.h:136
void uic_main_ext_registration_iter(fd_handler_t iter_function)
Definition: uic_main_externals.c:88
void uic_main_ext_select(clock_time_t delay)
Definition: uic_main_externals_platform.c:51
bool(* uic_ext_event_handler_t)(int)
Definition: uic_main_externals.h:73
void uic_main_ext_call_handler(const uic_main_ext_fd_registration_t *reg)
Definition: uic_main_externals.c:100
void(* fd_handler_t)(const uic_main_ext_fd_registration_t *reg)
Definition: uic_main_externals_internal.h:51
Definition: process.h:327
Definition: uic_main_externals_internal.h:36
struct process * owning_process
Definition: uic_main_externals_internal.h:42
int fd
Definition: uic_main_externals_internal.h:44
uic_ext_event_handler_t ev_hndl_func
Definition: uic_main_externals_internal.h:40
list_t * list
Definition: uic_main_externals_internal.h:38