php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26831 New LATT_* constants
Submitted: 2004-01-07 14:27 UTC Modified: 2004-01-07 19:57 UTC
From: slusarz at colorado dot edu Assigned:
Status: Closed Package: IMAP related
PHP Version: 4.3.4 OS: Red Hat Linux 9.0
Private report: No CVE-ID: None
 [2004-01-07 14:27 UTC] slusarz at colorado dot edu
Description:
------------
It appears, as of imap-2002, the following 3 LATT_* constants are now defined (this code is from imap-2002e/c-client/mail.h:476-481):

                                /* name has referral to remote mailbox */
#define LATT_REFERRAL (long) 0x10
                                /* has selectable inferiors */
#define LATT_HASCHILDREN (long) 0x20
                                /* has no selectable inferiors */
#define LATT_HASNOCHILDREN (long) 0x40

These bitmasks are correctly applied (if using imap-2002+) to the 'attributes' results returned from imap_getmailboxes() and imap_getsubscribed() - there is just no corresponding constant in PHP yet.  It would probably be good to define these constants if the underlying c-client supports them.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-07 19:57 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 09:01:29 2024 UTC