.\" Automatically generated by Pandoc 2.17.1.1 .\" .TH "DATA_MOVER_SYNC_NEW" "3" "2022-09-04" "MINIASYNC - miniasync version 0.2.1" "MINIASYNC Programmer's Manual" .hy .\" SPDX-License-Identifier: BSD-3-Clause .\" Copyright 2020-2022, Intel Corporation .SH NAME .PP \f[B]data_mover_sync_new\f[R](), \f[B]data_mover_sync_delete\f[R]() - allocate or free synchronous data mover structure .SH SYNOPSIS .IP .nf \f[C] #include struct data_mover_sync; struct data_mover_sync *data_mover_sync_new(void); void data_mover_sync_delete(struct data_mover_sync *dms); \f[R] .fi .PP For general description of synchronous data mover API, see \f[B]miniasync_vdm_synchronous\f[R](7). .SH DESCRIPTION .PP The \f[B]data_mover_sync_new\f[R]() function allocates and initializes a new synchronous data mover structure. .PP The \f[B]data_mover_sync_delete\f[R]() function frees and finalizes the synchronous data mover structure pointed by \f[I]dms\f[R]. .SH RETURN VALUE .PP The \f[B]data_mover_sync_new\f[R]() function returns a pointer to \f[I]struct data_mover_sync\f[R] structure or \f[B]NULL\f[R] if the allocation or initialization failed. .PP The \f[B]data_mover_sync_delete\f[R]() function does not return any value. .SH SEE ALSO .PP \f[B]miniasync\f[R](7), \f[B]miniasync_vdm_synchronous\f[R](7) and \f[B]\f[R]