Mercurial > hg > Members > kono > Cerium
diff include/TaskManager/MailManager.h @ 50:7927e00fb8e2
*** empty log message ***
author | gongo |
---|---|
date | Fri, 15 Feb 2008 19:36:08 +0900 |
parents | 31a7ff27ee20 |
children |
line wrap: on
line diff
--- a/include/TaskManager/MailManager.h Fri Feb 15 18:51:35 2008 +0900 +++ b/include/TaskManager/MailManager.h Fri Feb 15 19:36:08 2008 +0900 @@ -13,19 +13,19 @@ ~MailManager(void); /* functions */ - int init_pool_mailQueue(int num); - int extend_pool_mailQueue(int num); - MailQueuePtr create_mail(unsigned int data); - MailQueuePtr get_free_mailQueue(unsigned int data); - void free_mailQueue(MailQueuePtr q); - void destroy_mailQueue(void); + int init(int num); + MailQueuePtr create(unsigned int data); + void free(MailQueuePtr q); + static MailQueuePtr append_mailQueue(MailQueuePtr list, MailQueuePtr q); private: /* variables */ MailQueuePtr mailQueuePool; MailQueuePtr freeMailQueue; + + /* functions */ + int extend_pool(int num); + void destroy(void); }; -extern MailQueuePtr append_mailQueue(MailQueuePtr list, MailQueuePtr q); - #endif