projects
/
physik
/
nlsop.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
icorrected job argument printing
[physik/nlsop.git]
/
nlsop_general.h
1
/* general nlsop header file */
2
3
#define DC_QUIT (1<<0)
4
#define DC_OK (1<<1)
5
#define DC_END (1<<2)
6
7
#define NLSOP_GUI 'g'
8
#define NLSOP_CLIENT 'c'
9
#define NLSOP_NJOB 'N'
10
#define NLSOP_CJOB 'C'
11
12
#define GUI_INFO 'i'
13
#define GUI_ADDJOB 'a'
14
#define GUI_QUIT 'q'
15
16
typedef struct s_client {
17
int channel;
18
unsigned char status;
19
#define IDLE (1<<0)
20
#define WORK (1<<1)
21
} t_client;
22
23
typedef struct s_job {
24
int channel;
25
unsigned char status;
26
#define IN_QUEUE (1<<0)
27
#define IN_WORK (1<<1)
28
int progress;
29
unsigned char *ac;
30
int *cc;
31
int x,y,z;
32
int size;
33
info info;
34
int step;
35
} t_job;
36