aboutsummaryrefslogtreecommitdiff
path: root/iemnet.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-31 08:58:06 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-03-31 08:58:06 +0000
commitc993e9d31706b2190134813f0a5096a59ad73429 (patch)
tree26131f7dea0a7471aadcf76723382bb8a8a71bbd /iemnet.h
parent400b1c8f6f5084033a10317d4437ca62d6cbe79f (diff)
output the data of stream-based objects in a serialized form
svn path=/trunk/externals/iem/iemnet/; revision=13321
Diffstat (limited to 'iemnet.h')
-rw-r--r--iemnet.h14
1 files changed, 14 insertions, 0 deletions
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