ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
type_check_context Struct Reference

Check if a type string is actually registered in the named registry. More...

Data Fields

const char * type_to_find
 
size_t type_len
 
bool found
 

Detailed Description

Check if a type string is actually registered in the named registry.

Parameters
type_strThe type string to validate (e.g., "thread", "mutex", "socket")
type_lenLength of the type string
Returns
true if the type exists in any registered entry

Queries the registry programmatically to ensure the type is actually registered, preventing false positives on random "word/word" text patterns.

Definition at line 36 of file log/named.c.

Field Documentation

◆ found

bool type_check_context::found

Definition at line 39 of file log/named.c.

◆ type_len

size_t type_check_context::type_len

Definition at line 38 of file log/named.c.

◆ type_to_find

const char* type_check_context::type_to_find

Definition at line 37 of file log/named.c.


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