gfio: Add mini library to draw bar graphs and line graphs
[fio.git] / tickmarks.h
diff --git a/tickmarks.h b/tickmarks.h
new file mode 100644 (file)
index 0000000..ab817a7
--- /dev/null
@@ -0,0 +1,11 @@
+#ifndef TICKMARKS_H
+#define TICKMARKS_H
+
+struct tickmark {
+       double value;
+       char string[20];
+};
+
+int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm);
+
+#endif