From 6c28c3f13963ede6b78e0227a2ecf02faf9b0359 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 1 Jul 2009 12:54:21 +0200 Subject: [PATCH] netaddress: add constant for max len --- docs/libs/gst-plugins-base-libs-sections.txt | 1 + gst-libs/gst/netbuffer/gstnetbuffer.h | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/docs/libs/gst-plugins-base-libs-sections.txt b/docs/libs/gst-plugins-base-libs-sections.txt index f96ea7d5bb..0ea5c58e8a 100644 --- a/docs/libs/gst-plugins-base-libs-sections.txt +++ b/docs/libs/gst-plugins-base-libs-sections.txt @@ -695,6 +695,7 @@ gst_x_overlay_get_type gst/netbuffer/gstnetbuffer.h GstNetBuffer GstNetType +GST_NETADDRESS_MAX_LEN GstNetAddress gst_netbuffer_new diff --git a/gst-libs/gst/netbuffer/gstnetbuffer.h b/gst-libs/gst/netbuffer/gstnetbuffer.h index e384943db5..91770e4d5c 100644 --- a/gst-libs/gst/netbuffer/gstnetbuffer.h +++ b/gst-libs/gst/netbuffer/gstnetbuffer.h @@ -49,6 +49,16 @@ typedef enum { GST_NET_TYPE_IP6, } 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: *