API: deprecate gst_rtsp_base64_decode_ip(), use g_base64_decode_inplace() instead
*
* Decode the base64 string pointed to by @data in-place. When @len is not #NULL
* it will contain the length of the decoded data.
+ *
+ * Deprecated: use g_base64_decode_inplace() instead.
*/
-/* FIXME: Deprecate this once we depend on GLib 2.20 and
- * use g_base64_decode_inplace then.
- */
+#ifndef GST_REMOVE_DEPRECATED
+#ifdef GST_DISABLE_DEPRECATED
+void gst_rtsp_base64_decode_ip (gchar * data, gsize * len);
+#endif
void
gst_rtsp_base64_decode_ip (gchar * data, gsize * len)
{
if (len)
*len = output_length;
}
+#endif
* Boston, MA 02111-1307, USA.
*/
-#ifndef __BASE64_H__
-#define __BASE64_H__
+#ifndef __GST_RTSP_BASE64_H__
+#define __GST_RTSP_BASE64_H__
#include <glib.h>
gchar *gst_rtsp_base64_encode (const gchar *data, gsize len);
#endif
+#ifndef GST_DISABLE_DEPRECATED
void gst_rtsp_base64_decode_ip (gchar *data, gsize *len);
+#endif
G_END_DECLS
-#endif
+#endif /* __GST_RTSP_BASE64_H__ */