/[mailutils]/mailutils/mailbox/stream.c
ViewVC logotype

Diff of /mailutils/mailbox/stream.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by gray, Sun Mar 23 22:49:54 2003 UTC revision 1.29 by gray, Thu Aug 28 19:59:02 2003 UTC
# Line 427  stream_get_fd (stream_t stream, int *pfd Line 427  stream_get_fd (stream_t stream, int *pfd
427  {  {
428    if (stream == NULL || stream->_get_fd == NULL)    if (stream == NULL || stream->_get_fd == NULL)
429      return EINVAL;      return EINVAL;
430    return stream->_get_fd (stream, pfd);    return stream->_get_fd (stream, pfd, NULL);
431    }
432    
433    int
434    stream_get_fd2 (stream_t stream, int *pfd1, int *pfd2)
435    {
436      if (stream == NULL || stream->_get_fd == NULL)
437        return EINVAL;
438      return stream->_get_fd (stream, pfd1, pfd2);
439  }  }
440    
441  int  int
# Line 544  stream_set_close (stream_t stream, int ( Line 552  stream_set_close (stream_t stream, int (
552  }  }
553    
554  int  int
555  stream_set_fd (stream_t stream, int (*_get_fd) (stream_t, int *), void *owner)  stream_set_fd (stream_t stream, int (*_get_fd) (stream_t, int *, int *),
556                   void *owner)
557  {  {
558    if (stream == NULL)    if (stream == NULL)
559      return EINVAL;      return EINVAL;

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26