Removed all code that uses OpenGL from Image.
[io/quag.git] / addons / SystemCall / source / IoSystemCall.h
blob3770de7248a16e1ee35944c33520ad0d12549e79
1 /* copyright: Steve Dekorte, 2002
2 * All rights reserved. See _BSDLicense.txt.
3 */
5 #ifndef IOSystemCall_DEFINED
6 #define IOSystemCall_DEFINED 1
8 #include "IoObject.h"
9 #include "IoSeq.h"
10 #include "IoList.h"
11 #include "callsystem.h"
13 #define ISSYSTEMCALL(self) IoObject_hasCloneFunc_(self, (IoTagCloneFunc *)IoSystemCall_rawClone)
15 typedef IoObject IoSystemCall;
17 typedef struct
19 char **env;
20 char **args;
21 callsystem_fd_t stdin_child[2];
22 callsystem_fd_t stdout_child[2];
23 callsystem_fd_t stderr_child[2];
24 callsystem_pid_t pid;
25 int status;
26 } IoSystemCallData;
28 IoTag *IoSystemCall_newTag(void *state);
29 IoSystemCall *IoSystemCall_proto(void *state);
30 IoSystemCall *IoSystemCall_rawClone(IoObject *self);
31 void IoSystemCall_free(IoObject *self);
33 IoObject *IoSystemCall_asyncRun(IoObject *self, IoObject *locals, IoMessage *m);
34 IoObject *IoSystemCall_status(IoObject *self, IoObject *locals, IoMessage *m);
35 IoObject *IoSystemCall_close(IoObject *self, IoObject *locals, IoMessage *m);
36 void IoSystemCall_rawClose(IoSystemCall *self);
38 #endif