Hi Barra,

--On Tuesday, December 17, 2002 11:01 AM +0000 Barra Seck <[EMAIL PROTECTED]> wrote:

| I'm writting an IMAP4rev1 client api in which I need to map the UID to a
| 5 digits value for my client. I guess you see the problem here since the
| UID is a 32 bit-value !
|
| Do someone have an idea of how to achieve that?

Why do you need to do that? UIDs are not meant to be presented to users in any fashion they are pruely for the internal workings of the client and server so an internal four-byte representation (unsigned long) works well. If you do need to present them in the UI or in some kind of log and you have a character length restriction, just use the four-character hex string value.

--
Cyrus Daboo

Reply via email to