stumpless 2.2.0
|
Priority value (PRIVAL) represents both the Facility and Severity values. 更多...
函数 | |
int | stumpless_prival_from_string (const char *string) |
Extract PRIVAL number (Facility and Severity) from the given string with the direct number or with two names divided with a period in the order: facility first, then severity ("<facility_descr>.<severity_descr>"). | |
Priority value (PRIVAL) represents both the Facility and Severity values.
int stumpless_prival_from_string | ( | const char * | string | ) |
Extract PRIVAL number (Facility and Severity) from the given string with the direct number or with two names divided with a period in the order: facility first, then severity ("<facility_descr>.<severity_descr>").
Thread Safety: MT-Safe This function is thread safe. A mutex is used to coordinate changes to the target while it is being read.
Async Signal Safety: AS-Unsafe lock This function is not safe to call from signal handlers due to the use of a non-reentrant lock to coordinate the read of the target.
Async Cancel Safety: AC-Unsafe lock This function is not safe to call from threads that may be asynchronously cancelled, due to the use of a lock that could be left locked..
string | The string to extract the prival from. |