unibase general global header
This header is intended to be included by application programs which use 'unibase' library. This is the only one header which needs to be included.
The categorized part like 'ub_logging' has separated header, and it is included in this header.
|
int | unibase_init (unibase_init_para_t *ub_init_para) |
| initialize unibase More...
|
|
void | unibase_close (void) |
| claose unibase More...
|
|
void | ub_fatal (const char *mes1, const char *mes2) |
| process a fatal error More...
|
|
bool | ub_fatalerror (void) |
| return the fatal error status More...
|
|
static bool | ub_assert_fatal (bool cond, const char *mes1, const char *mes2) |
| conditinal ub_fatal More...
|
|
uint64_t | ub_rt_gettime64 (void) |
| get 64-bit REALTIME clock value More...
|
|
uint64_t | ub_mt_gettime64 (void) |
| get 64-bit MONOTONIC clock value More...
|
|
uint64_t | ub_gptp_gettime64 (void) |
| get 64-bit PTP clock value More...
|
|
int | ub_non_aligned_intsubst (void *srcval, void *destval, int vsize) |
| copy non-aligned srcval to aligned destval for integer size from 1,2,4,8 bytes More...
|
|
int64_t | ub_int64_from_non_aligned (void *value, int vsize, int *error) |
| evalute non-aligned value as integer, return result as int64_t number. More...
|
|
uint64_t | ub_uint64_from_non_aligned (void *value, int vsize, int *error) |
|