Freeciv-3.3
Loading...
Searching...
No Matches
Functions
workertask.c File Reference
#include "log.h"
#include "city.h"
#include "extras.h"
#include "unit.h"
#include "workertask.h"

Go to the source code of this file.

Functions

void worker_task_init (struct worker_task *ptask)
 
bool worker_task_is_sane (struct worker_task *ptask)
 

Function Documentation

◆ worker_task_init()

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().

◆ worker_task_is_sane()

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().