mdata-get C prototype