13#ifndef FC__GLOBAL_WORKLIST_H
14#define FC__GLOBAL_WORKLIST_H
52#define SPECLIST_TAG global_worklist
53#define SPECLIST_TYPE struct global_worklist
57#define global_worklists_iterate_all(pgwl) \
58 if (client.worklists) { \
59 TYPED_LIST_ITERATE(struct global_worklist, client.worklists, pgwl)
60#define global_worklists_iterate_all_end \
65#define global_worklists_iterate(pgwl) \
66 global_worklists_iterate_all(pgwl) { \
67 if (global_worklist_is_valid(pgwl)) {
68#define global_worklists_iterate_end \
70 } global_worklists_iterate_all_end;
struct global_worklist * global_worklist_by_id(int id)
bool global_worklist_set(struct global_worklist *pgwl, const struct worklist *pwl)
const char * global_worklist_name(const struct global_worklist *pgwl)
int global_worklist_id(const struct global_worklist *pgwl)
int global_worklists_number(void)
bool global_worklist_is_valid(const struct global_worklist *pgwl)
void global_worklist_destroy(struct global_worklist *pgwl)
void global_worklists_build(void)
const struct worklist * global_worklist_get(const struct global_worklist *pgwl)
void global_worklists_load(struct section_file *file)
void global_worklists_init(void)
void global_worklists_free(void)
struct global_worklist * global_worklist_new(const char *name)
void global_worklists_unbuild(void)
void global_worklists_save(struct section_file *file)
void global_worklist_set_name(struct global_worklist *pgwl, const char *name)