diff options
author | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
---|---|---|
committer | p37sitdu, corvid <devnull@localhost> | 2013-01-12 20:13:36 +0000 |
commit | 0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch) | |
tree | 225d4a6128cd2ddbc1f762b0355c986f12c13730 /dpip | |
parent | 69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff) |
clean up struct typedefs
Diffstat (limited to 'dpip')
-rw-r--r-- | dpip/dpip.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dpip/dpip.h b/dpip/dpip.h index 083732ff..1a1846df 100644 --- a/dpip/dpip.h +++ b/dpip/dpip.h @@ -28,8 +28,7 @@ typedef enum { /* * Dpip socket handler type. */ -typedef struct _DpipSocketHandler Dsh; -struct _DpipSocketHandler { +typedef struct { int fd_in; int fd_out; /* FILE *in; --Unused. The stream functions block when reading. */ @@ -41,7 +40,7 @@ struct _DpipSocketHandler { int mode; /* mode flags: DPIP_TAG | DPIP_LAST_TAG | DPIP_RAW */ int status; /* status code: DPIP_EAGAIN | DPIP_ERROR | DPIP_EOF */ -}; +} Dsh; /* |