aboutsummaryrefslogtreecommitdiff
path: root/src/im-zmq.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-01-10 17:02:15 +0100
committerThomas White <taw@physics.org>2019-03-14 11:36:56 +0100
commit4d62f31f90b76bce8b66fe2be6ccccb7b1542209 (patch)
tree14bf58ae1f03e85ffb803ecab4bfb95864cb38e5 /src/im-zmq.c
parent002d6cfab105095ddc6b1cdfde9eb939c12ca0f8 (diff)
Connect up hooks for unpacking MsgPack data
Diffstat (limited to 'src/im-zmq.c')
-rw-r--r--src/im-zmq.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/im-zmq.c b/src/im-zmq.c
index c299b980..f501095a 100644
--- a/src/im-zmq.c
+++ b/src/im-zmq.c
@@ -136,7 +136,7 @@ void im_zmq_shutdown(struct im_zmq *z)
}
/**
- * get_peaks_onda:
+ * get_peaks_msgpack:
* @obj: A %msgpack_object containing data in OnDA format
* @image: An %image structure
* @half_pixel_shift: Non-zero if 0.5 should be added to all peak coordinates
@@ -158,8 +158,8 @@ void im_zmq_shutdown(struct im_zmq *z)
* Returns: non-zero on error, zero otherwise.
*
*/
-int get_peaks_onda(msgpack_object *obj, struct image *image,
- int half_pixel_shift)
+int get_peaks_msgpack(msgpack_object *obj, struct image *image,
+ int half_pixel_shift)
{
int num_peaks;
@@ -273,7 +273,7 @@ static void onda_fill_in_beam_parameters(struct beam_params *beam,
* ...
* }
*/
-int obj_read(msgpack_object *obj, struct image *image)
+int unpack_msgpack_data(msgpack_object *obj, struct image *image)
{
uint16_t *flags = NULL;