| 211 | /************************************************************************/ |
| 212 | |
| 213 | int msIO_contextRead( msIOContext *context, void *data, int byteCount ) |
| 214 | |
| 215 | { |
| 216 | if( context->write_channel == MS_TRUE ) |
| 217 | return 0; |
| 218 | else |
| 219 | return context->readWriteFunc( context->cbData, data, byteCount ); |
| 220 | } |
| 221 | |
| 222 | /************************************************************************/ |
| 223 | /* msIO_contextWrite() */ |