~ubuntu-branches/ubuntu/trusty/nss-pam-ldapd/trusty-proposed

« back to all changes in this revision

Viewing changes to common/tio.h

  • Committer: Package Import Robot
  • Author(s): Arthur de Jong
  • Date: 2012-10-14 23:00:00 UTC
  • Revision ID: package-import@ubuntu.com-20121014230000-tn63bv35wlebv45a
Tags: 0.8.10-3
* fix a problem in sed logic for commenting out disabled options
  (closes: #689296)
* support "EXTERNAL" SASL mechanism in debconf configuration (LP: #1063923)
  (the debconf template has been postponed to avoid having to update all
  translations for a relatively minor change)
* 01-use-poll-instead-of-select.patch: use poll() instead of select()
  for checking file descriptor activity to also correctly work if more
  than FD_SETSIZE files are already open (closes: #690319)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
typedef struct tio_fileinfo TFILE;
47
47
 
48
48
/* Open a new TFILE based on the file descriptor. The timeout is set for any
49
 
   operation. The timeout value is copied so may be dereferenced after the
50
 
   call. */
51
 
TFILE *tio_fdopen(int fd,struct timeval *readtimeout,struct timeval *writetimeout,
 
49
   operation (value in milliseconds). */
 
50
TFILE *tio_fdopen(int fd,int readtimeout,int writetimeout,
52
51
                  size_t initreadsize,size_t maxreadsize,
53
52
                  size_t initwritesize,size_t maxwritesize)
54
53
  LIKE_MALLOC MUST_USE;