[libsoup] Mark soup_message_headers_get() deprecated
- From: Dan Winship <danw src gnome org>
- To: svn-commits-list gnome org
- Subject: [libsoup] Mark soup_message_headers_get() deprecated
- Date: Sun, 19 Apr 2009 10:41:16 -0400 (EDT)
commit de81cbb8d0913119ea514b5214f60f81656b29f4
Author: Dan Winship <danw gnome org>
Date: Sun Apr 19 10:40:41 2009 -0400
Mark soup_message_headers_get() deprecated
(in favor of soup_message_headers_get_one() and _get_list())
---
libsoup/soup-message-headers.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libsoup/soup-message-headers.h b/libsoup/soup-message-headers.h
index f80d123..967b5e7 100644
--- a/libsoup/soup-message-headers.h
+++ b/libsoup/soup-message-headers.h
@@ -33,8 +33,10 @@ void soup_message_headers_remove (SoupMessageHeaders *hdrs,
const char *name);
void soup_message_headers_clear (SoupMessageHeaders *hdrs);
+#ifndef LIBSOUP_DISABLE_DEPRECATED
const char *soup_message_headers_get (SoupMessageHeaders *hdrs,
const char *name);
+#endif
const char *soup_message_headers_get_one (SoupMessageHeaders *hdrs,
const char *name);
const char *soup_message_headers_get_list (SoupMessageHeaders *hdrs,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]