netaddress: add constant for max len
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 1 Jul 2009 10:54:21 +0000 (12:54 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 1 Jul 2009 10:54:21 +0000 (12:54 +0200)
docs/libs/gst-plugins-base-libs-sections.txt
gst-libs/gst/netbuffer/gstnetbuffer.h

index f96ea7d..0ea5c58 100644 (file)
@@ -695,6 +695,7 @@ gst_x_overlay_get_type
 <INCLUDE>gst/netbuffer/gstnetbuffer.h</INCLUDE>
 GstNetBuffer
 GstNetType
+GST_NETADDRESS_MAX_LEN
 GstNetAddress
 
 gst_netbuffer_new
index e384943..91770e4 100644 (file)
@@ -50,6 +50,16 @@ typedef enum {
 } GstNetType;
 
 /**
+ * GST_NETADDRESS_MAX_LEN:
+ *
+ * The maximum length of a string representation of a GstNetAddress as produced
+ * by gst_netaddress_to_string().
+ *
+ * Since: 0.10.24
+ */
+#define GST_NETADDRESS_MAX_LEN 64
+
+/**
  * GstNetAddress:
  *
  * An opaque network address as used in #GstNetBuffer.