2 * Copyright (C) <1999> Erik Walthinsen <omega@cse.ogi.edu>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
24 #include <gst/dataprotocol/dataprotocol.h>
25 #include "gsttcpclientsrc.h"
26 #include "gsttcpclientsink.h"
27 #include "gsttcpserversrc.h"
28 #include "gsttcpserversink.h"
29 #include "gstmultifdsink.h"
31 GST_DEBUG_CATEGORY (tcp_debug);
34 plugin_init (GstPlugin * plugin)
38 if (!gst_element_register (plugin, "tcpclientsink", GST_RANK_NONE,
39 GST_TYPE_TCP_CLIENT_SINK))
41 if (!gst_element_register (plugin, "tcpclientsrc", GST_RANK_NONE,
42 GST_TYPE_TCP_CLIENT_SRC))
44 if (!gst_element_register (plugin, "tcpserversink", GST_RANK_NONE,
45 GST_TYPE_TCP_SERVER_SINK))
47 if (!gst_element_register (plugin, "tcpserversrc", GST_RANK_NONE,
48 GST_TYPE_TCP_SERVER_SRC))
50 if (!gst_element_register (plugin, "multifdsink", GST_RANK_NONE,
51 GST_TYPE_MULTI_FD_SINK))
54 GST_DEBUG_CATEGORY_INIT (tcp_debug, "tcp", 0, "TCP calls");
59 GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
62 "transfer data over the network via TCP",
63 plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN)