netaddress: add constant for max len

This commit is contained in:
Wim Taymans 2009-07-01 12:54:21 +02:00
parent 8ef62de3f0
commit 6c28c3f139
2 changed files with 11 additions and 0 deletions

View file

@ -695,6 +695,7 @@ gst_x_overlay_get_type
<INCLUDE>gst/netbuffer/gstnetbuffer.h</INCLUDE> <INCLUDE>gst/netbuffer/gstnetbuffer.h</INCLUDE>
GstNetBuffer GstNetBuffer
GstNetType GstNetType
GST_NETADDRESS_MAX_LEN
GstNetAddress GstNetAddress
gst_netbuffer_new gst_netbuffer_new

View file

@ -49,6 +49,16 @@ typedef enum {
GST_NET_TYPE_IP6, GST_NET_TYPE_IP6,
} GstNetType; } 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: * GstNetAddress:
* *