Re: RFC mailbox interface
- From: Kenneth Haley <haleykd yahoo com>
- To: balsa-list gnome org
- Subject: Re: RFC mailbox interface
- Date: Fri, 16 Nov 2001 23:16:56 -0700
Just realized it might be better to use one server for each type of
mailbox like this:
typedef struct _Server {
int (*logon)(const char user[], const char passwd[]);
int (*logoff)();
int (*newFolder)(const char path[]);
//return list of available Folder paths for getFolder
glist (*scanFolders)(const char path[]);
Folder* (*getFolder)(const char path[]);
};
//where path is either a directory or a server
Server* openServer(Type type, const char path[]);
--
K. Haley <halykd@yahoo.com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]