aboutsummaryrefslogtreecommitdiff
path: root/iemnet.h
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-01 07:20:44 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2010-04-01 07:20:44 +0000
commited35737b2cc95607125de03d8fa082e66e061408 (patch)
tree1ad461ac467b5b49bd78cb3551559e2606f30369 /iemnet.h
parente79d89cbca7353baeed6a76c2799df8871ef4814 (diff)
convenience function for outputting the number of connections
svn path=/trunk/externals/iem/iemnet/; revision=13328
Diffstat (limited to 'iemnet.h')
-rw-r--r--iemnet.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/iemnet.h b/iemnet.h
index e26fe46..7a97460 100644
--- a/iemnet.h
+++ b/iemnet.h
@@ -224,6 +224,18 @@ int iemnet__receiver_getsize(t_iemnet_receiver*);
void iemnet__addrout(t_outlet*status_outlet, t_outlet*address_outlet, long address, unsigned short port);
/**
+ * output the number of connections
+ * the given number of connections is first output through the status_outlet as a "connections" message
+ * and then as a single number through the numconn_outlet
+ *
+ * \param status_outlet outlet for general status messages
+ * \param address_outlet outlet for numconnections only
+ * \param numconnections the number of connections
+ */
+void iemnet__numconnout(t_outlet*status_outlet, t_outlet*numconn_outlet, int numconnections);
+
+
+/**
* output a list as a stream (serialize)
*
* the given list of atoms will be sent to the output one-by-one