First, this is not applicable:
patching file teamd/teamd.c
Hunk #3 succeeded at 107 (offset 1 line).
Hunk #4 FAILED at 136.
Mon, Jul 15, 2013 at 08:38:09PM CEST, jzupka(a)redhat.com wrote:
enable ZeroMQ interface
teamd -Z "tcp:\\127.0.0.1:5555"
teamdctl -Z "tcp:\\127.0.0.1:5555" config dump
Take care when you use this type of connection.
Security must be ensured by firewall or other tools.
There could be added verification by certificate with SSL layer.
It could be added in next version.
from v2 -> v3:
fixs some code style problems.
<snip>
diff --git a/teamd/teamd_zmq.h b/teamd/teamd_zmq.h
new file mode 100644
index 0000000..d919522
--- /dev/null
+++ b/teamd/teamd_zmq.h
@@ -0,0 +1,26 @@
+/*
+ * teamd_zmq.h - Teamd ZeroMQ api
+ * Copyright (C) 2012 Jiri Zupka <jzupka(a)redhat.com>
^^^^ !!!!
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef _TEAMD_ZMQ_H_
+#define _TEAMD_ZMQ_H_
+
+int teamd_zmq_init(struct teamd_context *ctx);
+void teamd_zmq_fini(struct teamd_context *ctx);
+
+#endif /* _TEAMD_USOCK_H_ */
^^^^^