Consumer Task Definition. More...
#include "apt_task.h"Go to the source code of this file.
Typedefs | |
| typedef typedefAPT_BEGIN_EXTERN_C struct apt_consumer_task_t | apt_consumer_task_t |
Functions | |
| apt_consumer_task_t * | apt_consumer_task_create (void *obj, apt_task_msg_pool_t *msg_pool, apr_pool_t *pool) |
| apt_task_t * | apt_consumer_task_base_get (const apt_consumer_task_t *task) |
| apt_task_vtable_t * | apt_consumer_task_vtable_get (apt_consumer_task_t *task) |
| void * | apt_consumer_task_object_get (const apt_consumer_task_t *task) |
Consumer Task Definition.
| typedef typedefAPT_BEGIN_EXTERN_C struct apt_consumer_task_t apt_consumer_task_t |
Opaque consumer task declaration
| apt_task_t* apt_consumer_task_base_get | ( | const apt_consumer_task_t * | task | ) |
Get task base.
| task | the consumer task to get base for |
| apt_consumer_task_t* apt_consumer_task_create | ( | void * | obj, | |
| apt_task_msg_pool_t * | msg_pool, | |||
| apr_pool_t * | pool | |||
| ) |
Create consumer task.
| obj | the external object to associate with the task | |
| msg_pool | the pool of task messages | |
| pool | the pool to allocate memory from |
| void* apt_consumer_task_object_get | ( | const apt_consumer_task_t * | task | ) |
Get consumer task object.
| task | the consumer task to get object from |
| apt_task_vtable_t* apt_consumer_task_vtable_get | ( | apt_consumer_task_t * | task | ) |
Get task vtable.
| task | the consumer task to get vtable for |
1.6.1