libnjb: /root/tmp/build-libnjb/libnjb-2.2.7/src/njbtime.h Source File

libnjb 2.2.7

njbtime.h
1 #ifndef __NJB__TIME__H
2 #define __NJB__TIME__H
3
4 njb_time_t *time_unpack(void *data);
5 njb_time_t *time_unpack3(void *data);
6 void *time_pack(njb_time_t *time);
7 void *time_pack3(njb_time_t *time);
8
9 #endif
njb_time_struct::month
int16_t month
Definition: libnjb.h:405
time_pack
void * time_pack(njb_time_t *time)
Definition: njbtime.c:100
libnjb.h
time_unpack3
njb_time_t * time_unpack3(void *data)
Definition: njbtime.c:62
njb_time_struct::weekday
int16_t weekday
Definition: libnjb.h:407
from_16bit_to_njb1_bytes
void from_16bit_to_njb1_bytes(u_int16_t val, unsigned char *dp)
Definition: byteorder.c:183
njb_time_struct::seconds
int16_t seconds
Definition: libnjb.h:410
njb_time_struct::minutes
int16_t minutes
Definition: libnjb.h:409
njb_time_struct::day
int16_t day
Definition: libnjb.h:406
njb_time_struct::hours
int16_t hours
Definition: libnjb.h:408
time_pack3
void * time_pack3(njb_time_t *time)
Definition: njbtime.c:135
time_unpack
njb_time_t * time_unpack(void *data)
Definition: njbtime.c:25
njb_time_struct::year
int16_t year
Definition: libnjb.h:404
njb_time_struct
Definition: libnjb.h:403
__sub_depth
int __sub_depth
Definition: base.c:62
njb1_bytes_to_16bit
u_int16_t njb1_bytes_to_16bit(unsigned char *dp)
Definition: byteorder.c:146