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

43 lines
1.1 KiB
C
Raw Normal View History

2019-01-12 00:54:05 +00:00
#ifndef chain_print_h
#define chain_print_h
2018-08-23 16:57:38 +00:00
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
2019-01-12 00:54:05 +00:00
#endif /* chain_h */