#ifndef __G_MG_H
#define __G_MG_H

#define MAX_REQ_SIZE 4096

#define IOCTL_SETSIZE _IOW(0, 42, off_t)
#define IOCTL_NEXTBIO _IOR(0, 23, struct g_mg_bio)
#define IOCTL_ZEROSIZE _IO(0, 43)



enum g_mg_request {
	G_MG_READ,
	G_MG_WRITE
};



struct g_mg_bio {
	enum g_mg_request request;
	off_t offset;
	long size;
};


#endif
