pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Data Structures | Typedefs | Functions
iso8601_internal.h File Reference
#include <time.h>
#include <sys/time.h>
#include <ctype.h>
#include <crm/common/iso8601.h>
Include dependency graph for iso8601_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pcmk__time_us
 

Typedefs

typedef struct pcmk__time_us pcmk__time_hr_t
 

Functions

pcmk__time_hr_tpcmk__time_hr_convert (pcmk__time_hr_t *target, const crm_time_t *dt)
 
void pcmk__time_set_hr_dt (crm_time_t *target, const pcmk__time_hr_t *hr_dt)
 
pcmk__time_hr_tpcmk__time_hr_now (time_t *epoch)
 
pcmk__time_hr_tpcmk__time_hr_new (const char *date_time)
 
void pcmk__time_hr_free (pcmk__time_hr_t *hr_dt)
 
char * pcmk__time_format_hr (const char *format, const pcmk__time_hr_t *hr_dt)
 
char * pcmk__epoch2str (const time_t *source, uint32_t flags)
 
char * pcmk__timespec2str (const struct timespec *ts, uint32_t flags)
 
const char * pcmk__readable_interval (guint interval_ms)
 
crm_time_tpcmk__copy_timet (time_t source)
 

Typedef Documentation

◆ pcmk__time_hr_t

Definition at line 18 of file iso8601_internal.h.

Function Documentation

◆ pcmk__copy_timet()

crm_time_t* pcmk__copy_timet ( time_t  source)

Definition at line 1391 of file iso8601.c.

◆ pcmk__epoch2str()

char* pcmk__epoch2str ( const time_t *  source,
uint32_t  flags 
)

Definition at line 1858 of file iso8601.c.

◆ pcmk__readable_interval()

const char* pcmk__readable_interval ( guint  interval_ms)

Definition at line 1926 of file iso8601.c.

◆ pcmk__time_format_hr()

char* pcmk__time_format_hr ( const char *  format,
const pcmk__time_hr_t hr_dt 
)

Definition at line 1773 of file iso8601.c.

◆ pcmk__time_hr_convert()

pcmk__time_hr_t* pcmk__time_hr_convert ( pcmk__time_hr_t target,
const crm_time_t dt 
)

Definition at line 1688 of file iso8601.c.

◆ pcmk__time_hr_free()

void pcmk__time_hr_free ( pcmk__time_hr_t hr_dt)

Definition at line 1767 of file iso8601.c.

◆ pcmk__time_hr_new()

pcmk__time_hr_t* pcmk__time_hr_new ( const char *  date_time)

Definition at line 1750 of file iso8601.c.

◆ pcmk__time_hr_now()

pcmk__time_hr_t* pcmk__time_hr_now ( time_t *  epoch)

Definition at line 1731 of file iso8601.c.

◆ pcmk__time_set_hr_dt()

void pcmk__time_set_hr_dt ( crm_time_t target,
const pcmk__time_hr_t hr_dt 
)

Definition at line 1709 of file iso8601.c.

◆ pcmk__timespec2str()

char* pcmk__timespec2str ( const struct timespec *  ts,
uint32_t  flags 
)

Definition at line 1897 of file iso8601.c.