Embedded TCP/IP stack: fnet_link.h Source File

FNET

fnet_link.h
1 /**************************************************************************
2 *
3 * Copyright 2016-2017 by Andrey Butok. FNET Community.
4 *
5 ***************************************************************************
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ***************************************************************************/
20 
21 #ifndef _FNET_LINK_H_
22 #define _FNET_LINK_H_
23 
24 #if FNET_CFG_LINK || defined(__DOXYGEN__)
25 
43 /**************************************************************************/
47 typedef fnet_int32_t fnet_link_desc_t;
48 
49 /**************************************************************************/
61 typedef void(*fnet_link_callback_t)(fnet_netif_desc_t netif, fnet_bool_t connected, void *callback_param);
62 
63 /**************************************************************************/
67 {
71 };
72 
73 /***************************************************************************/
96 
97 /***************************************************************************/
111 
112 /***************************************************************************/
128 
129 /***************************************************************************/
148 
151 #endif /* FNET_CFG_LINK || defined(__DOXYGEN__) */
152 
153 #endif /* _FNET_AUTOIP_H_ */
fnet_bool_t
Boolean type.
Definition: fnet_stdlib.h:81
void * fnet_netif_desc_t
Network interface descriptor.
Definition: fnet_netif.h:71

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net