C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
GlobalContext Struct Reference

#include </usr/local/src/C-Menu/src/lf.h>

Collaboration diagram for GlobalContext:
[legend]

Data Fields

atomic_uint_fast32_t active_tasks
time_t after
void * arena
size_t arena_bytes
char * base_path
time_t before
regex_t compiled_ere
regex_t compiled_re
bool count
bool count_errors
bool count_silently
bool depth_first
atomic_uint_fast32_t dequeue_pos
ll_e disp_level_mask
atomic_uint_fast32_t enqueue_pos
char * ere
int err_fd
atomic_size_t error_count
bool f_logging
atomic_size_t file_count
ll_e file_level_mask
off_t file_size_min
long flags
bool follow_links
bool hidden_only
bool ignore_case
bool include_hidden
unsigned char include_perms
unsigned char include_types
atomic_size_t log_error_count
int log_fd
char log_file_spec [MAX_PATH_LEN]
char log_record [MAX_LOG_RECORD_LEN]
uint32_t max_depth
unsigned int nthreads
bool only_errors
pthread_mutex_t output_mutex
long p_int_nsec
long p_int_sec
size_t path_bytes
char * path_data
atomic_uint_fast32_t path_offset
QueueNode * queue
size_t queue_bytes
atomic_uint_fast32_t queue_idx
char * re
int reg_flags
char * sbuffer
atomic_uint_fast32_t sequence [QUEUE_NODES]
atomic_uint_fast32_t shut_down
bool sort
bool sort_reverse
long start
long start_nsec
long start_sec
unsigned char suppress_types
atomic_uint_fast32_t thread_id
pthread_t * threads
tss_e timestamp_style
bool unlink
uintmax_t user_id
char * user_name
bool xdev

Detailed Description

Definition at line 379 of file lf.h.

Field Documentation

◆ active_tasks

atomic_uint_fast32_t GlobalContext::active_tasks

Definition at line 387 of file lf.h.

Referenced by finder(), mpmc_dequeue(), push_root_node(), and worker().

◆ after

time_t GlobalContext::after

Definition at line 411 of file lf.h.

Referenced by debug_out(), and print_file().

◆ arena

void* GlobalContext::arena

Definition at line 380 of file lf.h.

Referenced by global_arena_create(), and global_arena_destroy().

◆ arena_bytes

size_t GlobalContext::arena_bytes

Definition at line 391 of file lf.h.

Referenced by global_arena_create(), and global_arena_destroy().

◆ base_path

char* GlobalContext::base_path

Definition at line 415 of file lf.h.

Referenced by debug_out(), init_lf(), main(), and push_root_node().

◆ before

time_t GlobalContext::before

Definition at line 412 of file lf.h.

Referenced by debug_out(), and print_file().

◆ compiled_ere

regex_t GlobalContext::compiled_ere

Definition at line 421 of file lf.h.

Referenced by init_lf(), and print_file().

◆ compiled_re

regex_t GlobalContext::compiled_re

Definition at line 420 of file lf.h.

Referenced by init_lf(), and print_file().

◆ count

bool GlobalContext::count

Definition at line 441 of file lf.h.

Referenced by main().

◆ count_errors

bool GlobalContext::count_errors

Definition at line 440 of file lf.h.

◆ count_silently

bool GlobalContext::count_silently

Definition at line 442 of file lf.h.

Referenced by main(), and print_file().

◆ depth_first

bool GlobalContext::depth_first

Definition at line 428 of file lf.h.

Referenced by main().

◆ dequeue_pos

atomic_uint_fast32_t GlobalContext::dequeue_pos

Definition at line 386 of file lf.h.

Referenced by init_lf(), and mpmc_dequeue().

◆ disp_level_mask

ll_e GlobalContext::disp_level_mask

Definition at line 437 of file lf.h.

Referenced by debug_out(), finder(), init_lf(), log_open(), log_write(), and main().

◆ enqueue_pos

atomic_uint_fast32_t GlobalContext::enqueue_pos

Definition at line 385 of file lf.h.

Referenced by init_lf(), mpmc_bulk_enqueue(), mpmc_dequeue(), and mpmc_enqueue().

◆ ere

char* GlobalContext::ere

Definition at line 417 of file lf.h.

Referenced by debug_out(), init_lf(), and main().

◆ err_fd

int GlobalContext::err_fd

Definition at line 403 of file lf.h.

Referenced by log_write().

◆ error_count

atomic_size_t GlobalContext::error_count

Definition at line 395 of file lf.h.

Referenced by finder(), and main().

◆ f_logging

bool GlobalContext::f_logging

Definition at line 436 of file lf.h.

Referenced by finder(), init_lf(), log_open(), main(), and worker().

◆ file_count

atomic_size_t GlobalContext::file_count

Definition at line 400 of file lf.h.

Referenced by main(), and print_file().

◆ file_level_mask

ll_e GlobalContext::file_level_mask

Definition at line 438 of file lf.h.

Referenced by finder(), init_lf(), log_open(), log_write(), and main().

◆ file_size_min

off_t GlobalContext::file_size_min

Definition at line 402 of file lf.h.

Referenced by debug_out(), and print_file().

◆ flags

long GlobalContext::flags

Definition at line 406 of file lf.h.

Referenced by debug_out(), init_lf(), main(), and print_file().

◆ follow_links

bool GlobalContext::follow_links

Definition at line 434 of file lf.h.

Referenced by debug_out(), finder(), and main().

◆ hidden_only

bool GlobalContext::hidden_only

Definition at line 433 of file lf.h.

Referenced by finder(), and main().

◆ ignore_case

bool GlobalContext::ignore_case

Definition at line 429 of file lf.h.

Referenced by debug_out(), init_lf(), and main().

◆ include_hidden

bool GlobalContext::include_hidden

Definition at line 432 of file lf.h.

Referenced by debug_out(), finder(), init_lf(), and main().

◆ include_perms

unsigned char GlobalContext::include_perms

Definition at line 422 of file lf.h.

Referenced by debug_out(), and print_file().

◆ include_types

unsigned char GlobalContext::include_types

Definition at line 423 of file lf.h.

Referenced by debug_out(), and init_lf().

◆ log_error_count

atomic_size_t GlobalContext::log_error_count

Definition at line 396 of file lf.h.

Referenced by main().

◆ log_fd

int GlobalContext::log_fd

Definition at line 404 of file lf.h.

Referenced by log_open(), log_write(), main(), and worker().

◆ log_file_spec

char GlobalContext::log_file_spec[MAX_PATH_LEN]

Definition at line 405 of file lf.h.

Referenced by log_open(), and log_write().

◆ log_record

char GlobalContext::log_record[MAX_LOG_RECORD_LEN]

Definition at line 425 of file lf.h.

Referenced by init_lf().

◆ max_depth

uint32_t GlobalContext::max_depth

Definition at line 413 of file lf.h.

Referenced by debug_out(), and finder().

◆ nthreads

unsigned int GlobalContext::nthreads

Definition at line 399 of file lf.h.

Referenced by debug_out(), init_lf(), and main().

◆ only_errors

bool GlobalContext::only_errors

Definition at line 439 of file lf.h.

Referenced by finder(), and print_file().

◆ output_mutex

pthread_mutex_t GlobalContext::output_mutex

Definition at line 394 of file lf.h.

Referenced by append_output_buffer(), flush_output_buffer(), and init_lf().

◆ p_int_nsec

long GlobalContext::p_int_nsec

Definition at line 409 of file lf.h.

Referenced by initialize_timer(), and log_open().

◆ p_int_sec

long GlobalContext::p_int_sec

Definition at line 410 of file lf.h.

Referenced by initialize_timer(), and log_open().

◆ path_bytes

size_t GlobalContext::path_bytes

Definition at line 393 of file lf.h.

Referenced by global_arena_create().

◆ path_data

char* GlobalContext::path_data

Definition at line 382 of file lf.h.

Referenced by global_arena_create(), mpmc_bulk_enqueue(), mpmc_enqueue(), and worker().

◆ path_offset

atomic_uint_fast32_t GlobalContext::path_offset

Definition at line 383 of file lf.h.

Referenced by mpmc_bulk_enqueue(), and mpmc_enqueue().

◆ queue

QueueNode* GlobalContext::queue

Definition at line 381 of file lf.h.

Referenced by finder(), global_arena_create(), mpmc_bulk_enqueue(), mpmc_enqueue(), and worker().

◆ queue_bytes

size_t GlobalContext::queue_bytes

Definition at line 392 of file lf.h.

Referenced by global_arena_create().

◆ queue_idx

atomic_uint_fast32_t GlobalContext::queue_idx

Definition at line 388 of file lf.h.

Referenced by push_root_node().

◆ re

char* GlobalContext::re

Definition at line 416 of file lf.h.

Referenced by debug_out(), init_lf(), and main().

◆ reg_flags

int GlobalContext::reg_flags

Definition at line 414 of file lf.h.

Referenced by init_lf().

◆ sbuffer

char* GlobalContext::sbuffer

Definition at line 419 of file lf.h.

Referenced by main().

◆ sequence

atomic_uint_fast32_t GlobalContext::sequence[QUEUE_NODES]

Definition at line 390 of file lf.h.

Referenced by global_arena_create(), mpmc_bulk_enqueue(), mpmc_dequeue(), and mpmc_enqueue().

◆ shut_down

atomic_uint_fast32_t GlobalContext::shut_down

Definition at line 384 of file lf.h.

Referenced by init_lf(), and mpmc_dequeue().

◆ sort

bool GlobalContext::sort

Definition at line 430 of file lf.h.

Referenced by debug_out(), and main().

◆ sort_reverse

bool GlobalContext::sort_reverse

Definition at line 431 of file lf.h.

Referenced by debug_out(), main(), and sort_lf_output().

◆ start

long GlobalContext::start

Definition at line 398 of file lf.h.

◆ start_nsec

long GlobalContext::start_nsec

Definition at line 407 of file lf.h.

Referenced by initialize_thread_timer(), initialize_timer(), and log_open().

◆ start_sec

long GlobalContext::start_sec

Definition at line 408 of file lf.h.

Referenced by initialize_thread_timer(), initialize_timer(), and log_open().

◆ suppress_types

unsigned char GlobalContext::suppress_types

Definition at line 424 of file lf.h.

Referenced by debug_out(), init_lf(), and print_file().

◆ thread_id

atomic_uint_fast32_t GlobalContext::thread_id

Definition at line 389 of file lf.h.

Referenced by init_lf(), and worker().

◆ threads

pthread_t* GlobalContext::threads

Definition at line 397 of file lf.h.

Referenced by init_lf(), and main().

◆ timestamp_style

tss_e GlobalContext::timestamp_style

Definition at line 435 of file lf.h.

Referenced by iso8601_timestamp(), log_write(), and main().

◆ unlink

bool GlobalContext::unlink

Definition at line 426 of file lf.h.

Referenced by main().

◆ user_id

uintmax_t GlobalContext::user_id

Definition at line 401 of file lf.h.

Referenced by debug_out(), and print_file().

◆ user_name

char* GlobalContext::user_name

Definition at line 418 of file lf.h.

Referenced by debug_out(), and main().

◆ xdev

bool GlobalContext::xdev

Definition at line 427 of file lf.h.

Referenced by finder(), and main().


The documentation for this struct was generated from the following file: