From c993e9d31706b2190134813f0a5096a59ad73429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 31 Mar 2010 08:58:06 +0000 Subject: output the data of stream-based objects in a serialized form svn path=/trunk/externals/iem/iemnet/; revision=13321 --- iemnet.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'iemnet.h') diff --git a/iemnet.h b/iemnet.h index 3cc21f5..e26fe46 100644 --- a/iemnet.h +++ b/iemnet.h @@ -223,6 +223,20 @@ int iemnet__receiver_getsize(t_iemnet_receiver*); */ void iemnet__addrout(t_outlet*status_outlet, t_outlet*address_outlet, long address, unsigned short port); +/** + * output a list as a stream (serialize) + * + * the given list of atoms will be sent to the output one-by-one + * + * \param outlet outlet to sent the data to + * \param argc size of the list + * \param argv data + * + * \note with stream based protocols (TCP/IP) the length of the received lists has no meaning, so the data has to be serialized anyhow + */ +void iemnet__streamout(t_outlet*outlet, int argc, t_atom*argv); + + #if defined(_MSC_VER) # define snprintf _snprintf # define IEMNET_EXTERN __declspec(dllexport) extern -- cgit v1.2.1