pacemaker  2.0.3-4b1f869f0f
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  crm_time_us
 

Typedefs

typedef struct crm_time_us crm_time_hr_t
 

Functions

crm_time_hr_tcrm_time_hr_convert (crm_time_hr_t *target, crm_time_t *dt)
 
void crm_time_set_hr_dt (crm_time_t *target, crm_time_hr_t *hr_dt)
 
crm_time_hr_tcrm_time_timeval_hr_convert (crm_time_hr_t *target, struct timeval *tv)
 
crm_time_hr_tcrm_time_hr_new (const char *date_time)
 
void crm_time_hr_free (crm_time_hr_t *hr_dt)
 
char * crm_time_format_hr (const char *format, crm_time_hr_t *hr_dt)
 
const char * crm_now_string (time_t *when)
 

Typedef Documentation

◆ crm_time_hr_t

typedef struct crm_time_us crm_time_hr_t

Definition at line 28 of file iso8601_internal.h.

Function Documentation

◆ crm_now_string()

const char* crm_now_string ( time_t *  when)

Definition at line 1701 of file iso8601.c.

◆ crm_time_format_hr()

char* crm_time_format_hr ( const char *  format,
crm_time_hr_t hr_dt 
)

Definition at line 1618 of file iso8601.c.

◆ crm_time_hr_convert()

crm_time_hr_t* crm_time_hr_convert ( crm_time_hr_t target,
crm_time_t dt 
)

Definition at line 1543 of file iso8601.c.

◆ crm_time_hr_free()

void crm_time_hr_free ( crm_time_hr_t hr_dt)

Definition at line 1612 of file iso8601.c.

◆ crm_time_hr_new()

crm_time_hr_t* crm_time_hr_new ( const char *  date_time)

Definition at line 1592 of file iso8601.c.

◆ crm_time_set_hr_dt()

void crm_time_set_hr_dt ( crm_time_t target,
crm_time_hr_t hr_dt 
)

Definition at line 1564 of file iso8601.c.

◆ crm_time_timeval_hr_convert()

crm_time_hr_t* crm_time_timeval_hr_convert ( crm_time_hr_t target,
struct timeval *  tv 
)

Definition at line 1578 of file iso8601.c.