#include <stdlib.h>
#include <string.h>
#include "libnjb.h"
#include "njbtime.h"
#include "njb_error.h"
#include "defs.h"
#include "base.h"
#include "byteorder.h"
Functions | |
njb_time_t * | time_unpack (void *data) |
njb_time_t * | time_unpack3 (void *data) |
void * | time_pack (njb_time_t *time) |
void * | time_pack3 (njb_time_t *time) |
Variables | |
int | __sub_depth |
void* time_pack | ( | njb_time_t * | time | ) |
Packs a libnjb time structure to the raw format used by the NJB1
time | the libnjb time structure to pack |
void* time_pack3 | ( | njb_time_t * | time | ) |
Packs a libnjb time structure to the raw format used by the series 3 devices.
time | the libnjb time structure to pack |
njb_time_t* time_unpack | ( | void * | data | ) |
Unpacks a raw NJB1 time structure into libnjb representation.
data | raw memory representing a NJB1 timestamp |
njb_time_t* time_unpack3 | ( | void * | data | ) |
Unpacks a raw series 3 time structure into libnjb representation.
data | raw memory representing a series 3 timestamp |
int __sub_depth |
The current subroutine depth for all of libnjb (global)