]> Joshua Wise's Git repositories - netwatch.git/blobdiff - include/fb.h
add checksumrect utilities
[netwatch.git] / include / fb.h
index 9ade9e70b3bec1d441385694260edb8072408140..19dae0bb65ee481814483f7e048d8ab38287c98a 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __FB_H
 #define __FB_H
 
+#include <stdint.h>
+
 struct fbdevice;
 struct vmode;
 
@@ -9,6 +11,7 @@ typedef enum {
 } format_t;
 
 typedef void (*getvmode_t)(void *);
+typedef uint32_t (*checksum_rect_t)(int x, int y, int width, int height);
 
 struct vmode {
        int text:1;
@@ -20,6 +23,7 @@ struct fbdevice {
        unsigned char *fbaddr;
        void *priv;
        getvmode_t getvmode;
+       checksum_rect_t checksum_rect;
        struct vmode curmode;
 };
 
This page took 0.023034 seconds and 4 git commands to generate.