--- /dev/null
+/* general nlsop header file */
+
+#define DC_QUIT (1<<0)
+#define DC_OK (1<<1)
+#define DC_END (1<<2)
+
+#define NLSOP_GUI 'g'
+#define NLSOP_CLIENT 'c'
+#define NLSOP_NJOB 'N'
+#define NLSOP_CJOB 'C'
+
+#define GUI_INFO 'i'
+#define GUI_ADDJOB 'a'
+#define GUI_QUIT 'q'
+
+typedef struct s_client {
+ int channel;
+ unsigned char status;
+#define IDLE (1<<0)
+#define WORK (1<<1)
+} t_client;
+
+typedef struct s_job {
+ int channel;
+ unsigned char status;
+#define IN_QUEUE (1<<0)
+#define IN_WORK (1<<1)
+ int progress;
+ unsigned char *ac;
+ int *cc;
+ int x,y,z;
+ int size;
+ info info;
+ int step;
+} t_job;
+