Changeset 4693 for trunk/Ohana/src/opihi/include/pclient.h
- Timestamp:
- Aug 1, 2005, 4:54:17 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/pclient.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/pclient.h
r4689 r4693 40 40 int child_stderr_fd[2]; 41 41 42 typedef struct {43 char *buffer;44 int Nalloc;45 int Nreset;46 int Nblock;47 int Nbuffer;48 } IOBuffer;49 50 42 /** buffers for I/O storage **/ 51 43 IOBuffer child_stdout; 52 44 IOBuffer child_stderr; 53 54 /** IOBuffers allow the following operations **/55 56 /* create a new, empty IOBuffer with Nalloc free space */57 int InitIOBuffer (IOBuffer *buffer, int Nalloc);58 59 /* read from the file descriptor into IOBuffer, expanding as needed */60 int ReadtoIOBuffer (IOBuffer *buffer, int fd);61 62 /* empty the current IOBuffer, realloc to a minimal size */63 int FlushIOBuffer (IOBuffer *buffer);64 65 /* free memory associated with IOBuffer */66 void FreeIOBuffer (IOBuffer *buffer);67 45 68 46 int InitChild ();
Note:
See TracChangeset
for help on using the changeset viewer.
