|
Electroneum
|
#include <libworker.h>

Public Attributes | |
| int | thread_num |
| struct ub_ctx * | ctx |
| int | is_bg |
| int | is_bg_thread |
| int | want_quit |
| struct module_env * | env |
| struct comm_base * | base |
| struct outside_network * | back |
| struct ub_randstate * | rndstate |
| void * | sslctx |
The library-worker status structure Internal to the worker.
Definition at line 68 of file libworker.h.
| struct outside_network* libworker::back |
the backside outside network interface to the auth servers
Definition at line 86 of file libworker.h.
| struct comm_base* libworker::base |
the event base this worker works with
Definition at line 84 of file libworker.h.
| struct ub_ctx* libworker::ctx |
context we are operating under
Definition at line 72 of file libworker.h.
| struct module_env* libworker::env |
copy of the module environment with worker local entries.
Definition at line 82 of file libworker.h.
| int libworker::is_bg |
is this the bg worker?
Definition at line 75 of file libworker.h.
| int libworker::is_bg_thread |
is this a bg worker that is threaded (not forked)?
Definition at line 77 of file libworker.h.
| struct ub_randstate* libworker::rndstate |
random() table for this worker.
Definition at line 88 of file libworker.h.
| void* libworker::sslctx |
sslcontext for SSL wrapped DNS over TCP queries
Definition at line 90 of file libworker.h.
| int libworker::thread_num |
every worker has a unique thread_num. (first in struct)
Definition at line 70 of file libworker.h.
| int libworker::want_quit |
want to quit, stop handling new content
Definition at line 79 of file libworker.h.