📄 ospf_linked_list_structures.h
字号:
/* ospf_linked_list_structures.h - OSPF linked list structures header file *//* Copyright 2003 Wind River Systems, Inc. */#include "copyright_wrs.h"/*modification history--------------------01a,30may03,agi created (ported from RWOS)*/#if !defined (ospf_linked_list_structures_h)#define ospf_linked_list_structures_h/************************************************************************************/typedef struct LINKED_LIST_NODE{ struct LINKED_LIST_NODE* p_next; struct LINKED_LIST_NODE* p_previous; void* p_data;} LINKED_LIST_NODE;#if defined (__LOCAL_ITERATOR__)struct LINKED_LIST_ITERATOR;#endif /*__LOCAL_ITERATOR__*//************************************************************************************/typedef struct LINKED_LIST_CONTAINER{ OSPF_CONTAINER_FUNCTIONS function; LINKED_LIST_NODE* p_first_node; LINKED_LIST_NODE* p_last_node; FP_OSPF_CONTAINER_ITEM_COMPARE fp_compare;#if defined (__LOCAL_ITERATOR__) struct LINKED_LIST_ITERATOR* mp_linked_list_iterator;#endif /*__LOCAL_ITERATOR__*/} LINKED_LIST_CONTAINER;/************************************************************************************/typedef struct LINKED_LIST_ITERATOR{ RW_ITERATOR_FUNCTIONS function; LINKED_LIST_CONTAINER* p_linked_list; LINKED_LIST_NODE* p_node;} LINKED_LIST_ITERATOR;#endif /* ospf_linked_list_structures_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -