diff options
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ typedef int (*p_send) ( | |||
39 | const char *data, /* pointer to buffer with data to send */ | 39 | const char *data, /* pointer to buffer with data to send */ |
40 | size_t count, /* number of bytes to send from buffer */ | 40 | size_t count, /* number of bytes to send from buffer */ |
41 | size_t *sent, /* number of bytes sent uppon return */ | 41 | size_t *sent, /* number of bytes sent uppon return */ |
42 | p_tm tm /* timeout control */ | 42 | p_timeout tm /* timeout control */ |
43 | ); | 43 | ); |
44 | 44 | ||
45 | /* interface to recv function */ | 45 | /* interface to recv function */ |
@@ -48,7 +48,7 @@ typedef int (*p_recv) ( | |||
48 | char *data, /* pointer to buffer where data will be writen */ | 48 | char *data, /* pointer to buffer where data will be writen */ |
49 | size_t count, /* number of bytes to receive into buffer */ | 49 | size_t count, /* number of bytes to receive into buffer */ |
50 | size_t *got, /* number of bytes received uppon return */ | 50 | size_t *got, /* number of bytes received uppon return */ |
51 | p_tm tm /* timeout control */ | 51 | p_timeout tm /* timeout control */ |
52 | ); | 52 | ); |
53 | 53 | ||
54 | /* IO driver definition */ | 54 | /* IO driver definition */ |