On Thu, 2007-08-30 at 14:18 +0200, Julien Kerihuel wrote:        
>         A trivial solution would be to add a emsmdb context for PF
>         within the session, and each time an object is initialized,
>         associate it to a particular provider kind. E.g.: 
>                 PROVIDER_ID_EMSMDB_PF = 0x0, 
>                 PROVIDER_ID_EMSMDB= 0x1, 
>                 PROVIDER_ID_NSPI=0x2.

PROVIDER_ID_NSPI is wrong here. We only need an enum to choose between
Mailbox or PF store. But is an enum a good solution? Wouldn't pointer
assignment to global_mapi_ctx better fit (session + related object
provider)?

Questions:

1. Can we limit a libmapi session to:
- 1 Mailbox store context
- 1 Public Folder store context
- 1 NSPI connection context

2. What about notification context? (Do we need one for PF?)

3. What about potential 3rd-vendor party stores and providers?

-- 
Julien Kerihuel
[EMAIL PROTECTED]
OpenChange Project Manager

GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to