1 #include <stdlib.h> 2 #include "driver.h" 3 #include "driverlib.h" 4 COM_Graph_set(void)5int COM_Graph_set(void) 6 { 7 if (driver->Graph_set) 8 return (*driver->Graph_set) (); 9 return 0; 10 } 11 COM_Graph_close(void)12void COM_Graph_close(void) 13 { 14 if (driver->Graph_close) 15 (*driver->Graph_close) (); 16 } 17 COM_Graph_get_file(void)18const char *COM_Graph_get_file(void) 19 { 20 if (driver->Graph_get_file) 21 return (*driver->Graph_get_file) (); 22 23 return NULL; 24 } 25