#26831 [Opn->Csd]: New LATT_* constants
| From: | sniper@php.net | Date: | Thu, 08 Jan 2004 00:57:19 +0000 |
| Subject: | #26831 [Opn->Csd]: New LATT_* constants | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52951@lists.php.net to get a copy of this message | ||
ID: 26831
Updated by: sniper@php.net
Reported By: slusarz at colorado dot edu
-Status: Open
+Status: Closed
Bug Type: IMAP related
Operating System: Red Hat Linux 9.0
PHP Version: 4.3.4
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2004-01-07 14:27:55] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26831&edit=1