Freeciv-3.3
|
#include "speclist.h"
Go to the source code of this file.
Data Structures | |
struct | worker_task |
Functions | |
void | worker_task_init (struct worker_task *ptask) |
bool | worker_task_is_sane (struct worker_task *ptask) |
#define SPECLIST_TAG worker_task |
Definition at line 29 of file workertask.h.
#define SPECLIST_TYPE struct worker_task |
Definition at line 30 of file workertask.h.
#define worker_task_list_iterate | ( | tasklist, | |
ptask | |||
) | TYPED_LIST_ITERATE(struct worker_task, tasklist, ptask) |
Definition at line 33 of file workertask.h.
#define worker_task_list_iterate_end LIST_ITERATE_END |
Definition at line 35 of file workertask.h.
void worker_task_init | ( | struct worker_task * | ptask | ) |
Initialize empty worker_task.
Definition at line 31 of file workertask.c.
Referenced by handle_worker_task(), and texai_req_worker_task_rcv().
bool worker_task_is_sane | ( | struct worker_task * | ptask | ) |
Returns TRUE iff the specified worker_task is sane.
Definition at line 40 of file workertask.c.
Referenced by handle_worker_task(), handle_worker_task(), sg_load_sanitycheck(), and sg_load_sanitycheck().