Re: RFC mailbox interface



Some questions not related to vfolders.
Should the Message struct contain strings for list display and 
threading instead of a getHeaders search function?
Does the API really need getAllHeaders, getBody, and getAll or would 
getAll be enough and let the client seperate out the headers?
Are the strings returned by the getX functions managed by the lib or by 
balsa?

How about these?  The idea is to conserve memory with open/close being 
used when opening and closing the message list.
Folder->open creates the internal Message holding structure and returns 
Stats.
Folder->close frees the above
Folder->check if Folder is open it updates the above else it just 
returns Stats.

How about a second global function that return a list of acceptable 
mailbox types?  Possibly a static array whose indexes could be used 
when creating a new server.
-- 
K. Haley <halykd@yahoo.com>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]