pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
iso8601_internal.h File Reference
#include <glib.h>
#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 23 of file iso8601_internal.h.

Function Documentation

◆ pcmk__copy_timet()

crm_time_t * pcmk__copy_timet ( time_t source)

Definition at line 1488 of file iso8601.c.

◆ pcmk__epoch2str()

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

Definition at line 2151 of file iso8601.c.

◆ pcmk__readable_interval()

const char * pcmk__readable_interval ( guint interval_ms)

Definition at line 2210 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 2029 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 1931 of file iso8601.c.

◆ pcmk__time_hr_free()

void pcmk__time_hr_free ( pcmk__time_hr_t * hr_dt)

Definition at line 2013 of file iso8601.c.

◆ pcmk__time_hr_new()

pcmk__time_hr_t * pcmk__time_hr_new ( const char * date_time)

Definition at line 1996 of file iso8601.c.

◆ pcmk__time_hr_now()

pcmk__time_hr_t * pcmk__time_hr_now ( time_t * epoch)

Definition at line 1977 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 1955 of file iso8601.c.

◆ pcmk__timespec2str()

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

Definition at line 2183 of file iso8601.c.