]> git.ipfire.org Git - thirdparty/chrony.git/commit
cmdmon: define 64-bit integer
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 23 Mar 2023 10:37:11 +0000 (11:37 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 30 Mar 2023 13:17:50 +0000 (15:17 +0200)
commita511029cc297fc33afe85f9b6e5786c7cc4befa0
tree5033f85ca9e2afa3f4162d95809a4b9c74efaf98
parent0845df7684f4597ab9ff7a6e9aadf01895b93887
cmdmon: define 64-bit integer

Add a structure for 64-bit integers without requiring 64-bit alignment
to be usable in CMD_Reply without struct packing.

Add utility functions for conversion to/from network order. Avoid using
be64toh() and htobe64() as they don't seem to be available on all
supported systems.
candm.h
test/unit/util.c
util.c
util.h