--- /dev/null
+#ifndef QUICKSORT_H
+#define QUICKSORT_H
+
+#include <dol.h>
+#include "global.h"
+
+#define PORT_IN1 1
+#define PORT_IN2 2
+#define PORT_OUT1 3
+#define PORT_OUT2 4
+
+typedef struct _local_states {
+ int index;
+ int * arr1;
+ int * arr2;
+} Quicksort_State;
+
+void quicksort_init(DOLProcess *);
+int quicksort_fire(DOLProcess *);
+
+#endif