diff options
author | Ignacio Casal Quinteiro <icq@gnome.org> | 2015-10-26 15:49:03 +0100 |
---|---|---|
committer | Ignacio Casal Quinteiro <icq@gnome.org> | 2015-11-09 09:54:31 +0100 |
commit | 6bd5d97189ea5336e3fdc53244565d7db028ae0e (patch) | |
tree | 7c8c149b3d5aa674e1970ba5fd073274dd2347ec /libsoup/soup-logger.h | |
parent | 30bd9de7dea3bdffbcfbc7a704046d79354a003f (diff) | |
download | libsoup-6bd5d97189ea5336e3fdc53244565d7db028ae0e.tar.gz |
Mark all remaining methods with SOUP_AVAILABLE_IN_2_4
This way we can as well redefine _SOUP_EXTERN on msvc builds
with the right extern value needed for it. This is the same
we do on glib and gtk+
https://bugzilla.gnome.org/show_bug.cgi?id=757146
Diffstat (limited to 'libsoup/soup-logger.h')
-rw-r--r-- | libsoup/soup-logger.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libsoup/soup-logger.h b/libsoup/soup-logger.h index d84c765e..ef9172d9 100644 --- a/libsoup/soup-logger.h +++ b/libsoup/soup-logger.h @@ -49,29 +49,36 @@ typedef void (*SoupLoggerPrinter) (SoupLogger *logger, const char *data, gpointer user_data); +SOUP_AVAILABLE_IN_2_4 GType soup_logger_get_type (void); +SOUP_AVAILABLE_IN_2_4 SoupLogger *soup_logger_new (SoupLoggerLogLevel level, int max_body_size); #ifndef SOUP_DISABLE_DEPRECATED +SOUP_AVAILABLE_IN_2_4 SOUP_DEPRECATED_IN_2_24_FOR(soup_session_add_feature) void soup_logger_attach (SoupLogger *logger, SoupSession *session); +SOUP_AVAILABLE_IN_2_4 SOUP_DEPRECATED_IN_2_24_FOR(soup_session_remove_feature) void soup_logger_detach (SoupLogger *logger, SoupSession *session); #endif +SOUP_AVAILABLE_IN_2_4 void soup_logger_set_request_filter (SoupLogger *logger, SoupLoggerFilter request_filter, gpointer filter_data, GDestroyNotify destroy); +SOUP_AVAILABLE_IN_2_4 void soup_logger_set_response_filter (SoupLogger *logger, SoupLoggerFilter response_filter, gpointer filter_data, GDestroyNotify destroy); +SOUP_AVAILABLE_IN_2_4 void soup_logger_set_printer (SoupLogger *logger, SoupLoggerPrinter printer, gpointer printer_data, |