Пример #1
0
static void show_message_list(message_list_t *message_list)
{
  show_message_header();
  putchar('\n');
  while(message_list != NULL) {
    show_message(message_list);
    putchar('\n');
    message_list = message_list->next;
  }
}
Пример #2
0
static void show_signals(dbc_t *dbc)
{
  message_list_t *ml;
  signal_list_t *sl;

  show_message_header();
  show_signal_header();

  for(ml = dbc->message_list; ml != NULL; ml = ml->next) {
    for(sl = ml->message->signal_list; sl != NULL; sl = sl->next) {
      show_message(ml);
      putchar(';');
      show_signal(sl);
      putchar('\n');
    }
  }
}