CodeSnippets/src/subscribe.c
static void s_subscribe_event_cb(T_EDGE_DATA* event)
{
   char print_line[300];
   memset(print_line,0,sizeof(print_line));
   helper_get_edgedata_text(event, print_line,sizeof(print_line)-1);
   printf("Subscribe - Event Callback triggered %s\n", print_line);
}
/**
   \brief     subscribe callback function for change events
 */
\brief     subscribe callback function for change events
\ brief subscribe callback function for change events
static void s_subscribe_event_cb(T_EDGE_DATA* event)
{
   char print_line[300];
   memset(print_line,0,sizeof(print_line));
   helper_get_edgedata_text(event, print_line,sizeof(print_line)-1);
   printf("Subscribe - Event Callback triggered %s\n", print_line);
}
static void s_subscribe_event_cb ( T_EDGE_DATA * event ) { char print_line [ 300 ] ; memset ( print_line , 0 , sizeof ( print_line ) ) ; helper_get_edgedata_text ( event , print_line , sizeof ( print_line ) - 1 ) ; printf ( " \n " , print_line ) ; }
\brief     subscribe callback function for change events
\ brief subscribe callback function for change events