mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
43
world/drivers/amylaar/sys/erq.h
Normal file
43
world/drivers/amylaar/sys/erq.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/* external request demon interface definitions */
|
||||
#ifndef ERQ_H
|
||||
#define ERQ_H
|
||||
|
||||
/* servive request types */
|
||||
|
||||
#define ERQ_RLOOKUP 0
|
||||
#define ERQ_EXECUTE 1
|
||||
#define ERQ_FORK 2
|
||||
#define ERQ_AUTH 3
|
||||
#define ERQ_SPAWN 4
|
||||
#define ERQ_SEND 5
|
||||
#define ERQ_KILL 6
|
||||
#define ERQ_OPEN_UDP 7
|
||||
#define ERQ_OPEN_TCP 8
|
||||
#define ERQ_LISTEN 9
|
||||
|
||||
/* answers from ERQ_EXECUTE / ERQ_FORK */
|
||||
|
||||
#define ERQ_OK 0
|
||||
#define ERQ_SIGNALED 1
|
||||
#define ERQ_E_NOTFOUND 2 /* process not found by wait */
|
||||
#define ERQ_E_UNKNOWN 3 /* unknown exit condition from wait() */
|
||||
#define ERQ_E_ARGLENGTH 4
|
||||
#define ERQ_E_ARGFORMAT 5
|
||||
#define ERQ_E_ARGNUMBER 6
|
||||
#define ERQ_E_ILLEGAL 7
|
||||
#define ERQ_E_PATHLEN 8
|
||||
#define ERQ_E_FORKFAIL 9
|
||||
#define ERQ_E_TICKET 11
|
||||
#define ERQ_E_INCOMPLETE 12
|
||||
#define ERQ_E_WOULDBLOCK 13
|
||||
#define ERQ_E_PIPE 14
|
||||
#define ERQ_STDOUT 15
|
||||
#define ERQ_STDERR 16
|
||||
#define ERQ_EXITED 17
|
||||
#define ERQ_E_NSLOTS 18
|
||||
|
||||
/* reserved handles */
|
||||
|
||||
#define ERQ_HANDLE_RLOOKUP (-1)
|
||||
|
||||
#endif /* ERQ_H */
|
Loading…
Add table
Add a link
Reference in a new issue