18static inline void _lineup(
struct stk_vc *stk,
int fram,
int count)
21 for(i = 0; i < fram/2; i++){
25 for(i = 0; i < fram/2; i++){
33static inline void stk_display(
struct stk_vc *stk,
const char *func)
37 time_t t = time(NULL);
38 struct tm *lt = localtime(&t);
41 printf(
"stack empty ...\n");
44 printf(
"Function : %s\n", func);
45 printf(
"Time : %02d:%02d:%02d\n", lt->tm_hour, lt->tm_min, lt->tm_sec);
48 for(i = stk->
top; i >= 0; i--){
52 _lineup(stk, fram, i);
struct vc_ops * stk_stat[STACK_MAX]
Definition vcom.h:27
int top
Definition vcom.h:26
char *(* name)(void)
Definition vcom.h:71
#define stk_empty(a)
Definition vcom.h:23
#define ALL_SPACE
Definition vcom_debug.h:4
unsigned short len
Definition vcom_proto.h:3