pacemaker  2.1.4-dc6eb4362
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, crm_time_t *dt)
 
void pcmk__time_set_hr_dt (crm_time_t *target, pcmk__time_hr_t *hr_dt)
 
pcmk__time_hr_tpcmk__time_timeval_hr_convert (pcmk__time_hr_t *target, struct timeval *tv)
 
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, pcmk__time_hr_t *hr_dt)
 
const char * pcmk__epoch2str (time_t *when)
 
const char * pcmk__readable_interval (guint interval_ms)
 

Typedef Documentation

◆ pcmk__time_hr_t

Definition at line 18 of file iso8601_internal.h.

Function Documentation

◆ pcmk__epoch2str()

const char* pcmk__epoch2str ( time_t *  when)

Definition at line 1715 of file iso8601.c.

◆ pcmk__readable_interval()

const char* pcmk__readable_interval ( guint  interval_ms)

Definition at line 1750 of file iso8601.c.

◆ pcmk__time_format_hr()

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

Definition at line 1631 of file iso8601.c.

◆ pcmk__time_hr_convert()

pcmk__time_hr_t* pcmk__time_hr_convert ( pcmk__time_hr_t target,
crm_time_t dt 
)

Definition at line 1556 of file iso8601.c.

◆ pcmk__time_hr_free()

void pcmk__time_hr_free ( pcmk__time_hr_t hr_dt)

Definition at line 1625 of file iso8601.c.

◆ pcmk__time_hr_new()

pcmk__time_hr_t* pcmk__time_hr_new ( const char *  date_time)

Definition at line 1605 of file iso8601.c.

◆ pcmk__time_set_hr_dt()

void pcmk__time_set_hr_dt ( crm_time_t target,
pcmk__time_hr_t hr_dt 
)

Definition at line 1577 of file iso8601.c.

◆ pcmk__time_timeval_hr_convert()

pcmk__time_hr_t* pcmk__time_timeval_hr_convert ( pcmk__time_hr_t target,
struct timeval *  tv 
)

Definition at line 1591 of file iso8601.c.