Moved most typedefs etc. from rrd_graph.c to this file