ZE-Standard-Libraries/include/chain/chain_print.h

43 lines
1.1 KiB
C
Raw Normal View History

2018-08-23 16:57:38 +00:00
#ifndef list_print_h
#define list_print_h
2019-01-11 18:22:04 +00:00
#include <chain/chain.h>
#include <event/event.h>
2018-08-23 16:57:38 +00:00
/************************************************
*:
************************************************/
/*
*
*: priority为每行输出信息前的空格数除以4*/
2019-01-11 18:22:04 +00:00
void printListInfo(Chain *p_list,int priority);
2018-08-23 16:57:38 +00:00
/*
*
*: priority为每行输出信息前的空格数乘以4*/
2019-01-11 18:22:04 +00:00
void printNodeInfo(CNode *p_node,int priority);
2018-08-23 16:57:38 +00:00
/*
*
*/
2019-01-11 18:22:04 +00:00
void printList(Chain *);
2018-08-23 16:57:38 +00:00
/*
*
*: func为一个函数指针, */
2019-01-11 18:22:04 +00:00
void printListForCustom(Chain *p_list,void (*func)(void *value));
2018-08-23 16:57:38 +00:00
/*
*printListForCustom函数的回调函数
*/
__CALLBACK_STATE(printListForCustom);
/*
*
*/
2019-01-11 18:22:04 +00:00
void printNode(CNode *p_node);
2018-08-23 16:57:38 +00:00
#endif /* list_print_h */