--- /dev/null
+/* dfbt.c -- direct framebuffer stuff
+ *
+ * author: hackbard@hackdaworld.org
+ *
+ */
+
+#include "dfb.h"
+
+int dfb_init(t_dfb *dfb,int outfd,int &arg_c,char *arg_v) {
+
+ dprintf(outfd,"[dfb] initializing dfb system ...\n");
+
+ dfb->outfd=outfd;
+
+ DFBInit(arg_c,arg_v);
+
+ DirectFBCreate(&(dfb->iface));
+
+ return DFB_SUCCESS;
+}