[libsoup/wip/nacho/soup-extern: 2/2] Remove .sym files since they are not needed anymore
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/nacho/soup-extern: 2/2] Remove .sym files since they are not needed anymore
- Date: Mon, 26 Oct 2015 18:32:39 +0000 (UTC)
commit fcfafde261788f2fbada12737910182bbc0cbec8
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Oct 26 16:21:46 2015 +0100
Remove .sym files since they are not needed anymore
We use -export-dynamic and we mark the methods that we do
not want to export as INTERNAL
libsoup/Makefile.am | 20 +-
libsoup/libsoup-2.4.sym | 567 ------------------------------
libsoup/libsoup-gnome-2.4.sym | 5 -
libsoup/soup-address.c | 1 +
libsoup/soup-auth-digest.h | 7 +
libsoup/soup-body-input-stream.h | 2 +
libsoup/soup-body-output-stream.h | 2 +
libsoup/soup-cache-client-input-stream.h | 2 +
libsoup/soup-cache-input-stream.h | 2 +
libsoup/soup-cache-private.h | 6 +
libsoup/soup-client-input-stream.h | 2 +
libsoup/soup-connection.h | 18 +
libsoup/soup-content-processor.h | 3 +
libsoup/soup-content-sniffer-stream.h | 3 +
libsoup/soup-converter-wrapper.h | 2 +
libsoup/soup-directory-input-stream.h | 2 +
libsoup/soup-filter-input-stream.h | 4 +
libsoup/soup-io-stream.h | 2 +
libsoup/soup-message-private.h | 28 ++
libsoup/soup-message-queue.h | 9 +
libsoup/soup-misc-private.h | 7 +
libsoup/soup-path-map.h | 5 +
libsoup/soup-proxy-resolver-wrapper.h | 2 +
libsoup/soup-session-private.h | 7 +
libsoup/soup-socket-private.h | 18 +
libsoup/soup-xmlrpc.c | 1 +
26 files changed, 137 insertions(+), 590 deletions(-)
---
diff --git a/libsoup/Makefile.am b/libsoup/Makefile.am
index 345bd3e..da348a0 100644
--- a/libsoup/Makefile.am
+++ b/libsoup/Makefile.am
@@ -89,11 +89,9 @@ lib_LTLIBRARIES = libsoup-2.4.la
libsoup_2_4_la_LDFLAGS = \
-version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) \
-no-undefined \
- -export-symbols $(srcdir)/libsoup-2.4.sym \
+ -export-dynamic \
$(CODE_COVERAGE_LDFLAGS)
-EXTRA_DIST += libsoup-2.4.sym
-
libsoup_2_4_la_LIBADD = \
$(GLIB_LIBS) \
$(LIBWS2_32) \
@@ -224,9 +222,7 @@ lib_LTLIBRARIES += libsoup-gnome-2.4.la
libsoup_gnome_2_4_la_LDFLAGS = \
-version-info $(SOUP_CURRENT):$(SOUP_REVISION):$(SOUP_AGE) \
-no-undefined \
- -export-symbols $(srcdir)/libsoup-gnome-2.4.sym
-
-EXTRA_DIST += libsoup-gnome-2.4.sym
+ -export-dynamic
libsoup_gnome_2_4_la_LIBADD = \
libsoup-2.4.la \
@@ -322,15 +318,3 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES+= $(gir_DATA) $(typelib_DATA) $(BUILT_SOURCES)
endif
-
-# We only do this check on Linux, so we don't have to worry about
-# different "nm" output on other platforms
-if OS_LINUX
-check-local:
- @echo Checking libsoup-2.4.so symbols
- @nm $(builddir)/.libs/libsoup-2.4.so | \
- grep "^[[:xdigit:]]\+ [BGTRS] " | \
- sed "s/^[[:xdigit:]]\+ [BGTRS] //" | \
- env LC_ALL=C sort -u | \
- diff -U0 $(srcdir)/libsoup-2.4.sym - >&2
-endif
diff --git a/libsoup/soup-address.c b/libsoup/soup-address.c
index 59598b2..6a62a47 100644
--- a/libsoup/soup-address.c
+++ b/libsoup/soup-address.c
@@ -1114,6 +1114,7 @@ typedef struct {
} SoupAddressAddressEnumeratorClass;
+G_GNUC_INTERNAL
GType _soup_address_address_enumerator_get_type (void);
G_DEFINE_TYPE (SoupAddressAddressEnumerator, _soup_address_address_enumerator,
G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
diff --git a/libsoup/soup-auth-digest.h b/libsoup/soup-auth-digest.h
index 0165f74..68131a9 100644
--- a/libsoup/soup-auth-digest.h
+++ b/libsoup/soup-auth-digest.h
@@ -37,21 +37,28 @@ typedef enum {
SOUP_AUTH_DIGEST_QOP_AUTH_INT = 1 << 1
} SoupAuthDigestQop;
+G_GNUC_INTERNAL
SoupAuthDigestAlgorithm soup_auth_digest_parse_algorithm (const char *algorithm);
+G_GNUC_INTERNAL
char *soup_auth_digest_get_algorithm (SoupAuthDigestAlgorithm algorithm);
+G_GNUC_INTERNAL
SoupAuthDigestQop soup_auth_digest_parse_qop (const char *qop);
+G_GNUC_INTERNAL
char *soup_auth_digest_get_qop (SoupAuthDigestQop qop);
+G_GNUC_INTERNAL
void soup_auth_digest_compute_hex_urp (const char *username,
const char *realm,
const char *password,
char hex_urp[33]);
+G_GNUC_INTERNAL
void soup_auth_digest_compute_hex_a1 (const char *hex_urp,
SoupAuthDigestAlgorithm algorithm,
const char *nonce,
const char *cnonce,
char hex_a1[33]);
+G_GNUC_INTERNAL
void soup_auth_digest_compute_response (const char *method,
const char *uri,
const char *hex_a1,
diff --git a/libsoup/soup-body-input-stream.h b/libsoup/soup-body-input-stream.h
index 7732e5e..b254db1 100644
--- a/libsoup/soup-body-input-stream.h
+++ b/libsoup/soup-body-input-stream.h
@@ -37,8 +37,10 @@ typedef struct {
void (*_libsoup_reserved4) (void);
} SoupBodyInputStreamClass;
+G_GNUC_INTERNAL
GType soup_body_input_stream_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_body_input_stream_new (GInputStream *base_stream,
SoupEncoding encoding,
goffset content_length);
diff --git a/libsoup/soup-body-output-stream.h b/libsoup/soup-body-output-stream.h
index 8bd8970..2627b15 100644
--- a/libsoup/soup-body-output-stream.h
+++ b/libsoup/soup-body-output-stream.h
@@ -36,8 +36,10 @@ typedef struct {
void (*_libsoup_reserved4) (void);
} SoupBodyOutputStreamClass;
+G_GNUC_INTERNAL
GType soup_body_output_stream_get_type (void);
+G_GNUC_INTERNAL
GOutputStream *soup_body_output_stream_new (GOutputStream *base_stream,
SoupEncoding encoding,
goffset content_length);
diff --git a/libsoup/soup-cache-client-input-stream.h b/libsoup/soup-cache-client-input-stream.h
index 17f8359..5286494 100644
--- a/libsoup/soup-cache-client-input-stream.h
+++ b/libsoup/soup-cache-client-input-stream.h
@@ -27,8 +27,10 @@ typedef struct {
GFilterInputStreamClass parent_class;
} SoupCacheClientInputStreamClass;
+G_GNUC_INTERNAL
GType soup_cache_client_input_stream_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_cache_client_input_stream_new (GInputStream *base_stream);
G_END_DECLS
diff --git a/libsoup/soup-cache-input-stream.h b/libsoup/soup-cache-input-stream.h
index 92b1d7b..76d1332 100644
--- a/libsoup/soup-cache-input-stream.h
+++ b/libsoup/soup-cache-input-stream.h
@@ -36,8 +36,10 @@ struct _SoupCacheInputStream
SoupCacheInputStreamPrivate *priv;
};
+G_GNUC_INTERNAL
GType soup_cache_input_stream_get_type (void) G_GNUC_CONST;
+G_GNUC_INTERNAL
GInputStream *soup_cache_input_stream_new (GInputStream *base_stream,
GFile *file);
diff --git a/libsoup/soup-cache-private.h b/libsoup/soup-cache-private.h
index e17fc0d..996c5df 100644
--- a/libsoup/soup-cache-private.h
+++ b/libsoup/soup-cache-private.h
@@ -28,16 +28,22 @@
G_BEGIN_DECLS
+G_GNUC_INTERNAL
SoupCacheResponse soup_cache_has_response (SoupCache *cache,
SoupMessage *msg);
+G_GNUC_INTERNAL
GInputStream *soup_cache_send_response (SoupCache *cache,
SoupMessage *msg);
+G_GNUC_INTERNAL
SoupCacheability soup_cache_get_cacheability (SoupCache *cache,
SoupMessage *msg);
+G_GNUC_INTERNAL
SoupMessage *soup_cache_generate_conditional_request (SoupCache *cache,
SoupMessage *original);
+G_GNUC_INTERNAL
void soup_cache_cancel_conditional_request (SoupCache *cache,
SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_cache_update_from_conditional_request (SoupCache *cache,
SoupMessage *msg);
diff --git a/libsoup/soup-client-input-stream.h b/libsoup/soup-client-input-stream.h
index 098c607..605da15 100644
--- a/libsoup/soup-client-input-stream.h
+++ b/libsoup/soup-client-input-stream.h
@@ -36,8 +36,10 @@ typedef struct {
void (*_libsoup_reserved4) (void);
} SoupClientInputStreamClass;
+G_GNUC_INTERNAL
GType soup_client_input_stream_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_client_input_stream_new (GInputStream *base_stream,
SoupMessage *msg);
diff --git a/libsoup/soup-connection.h b/libsoup/soup-connection.h
index 8df6112..45a95dc 100644
--- a/libsoup/soup-connection.h
+++ b/libsoup/soup-connection.h
@@ -32,6 +32,7 @@ typedef struct {
} SoupConnectionClass;
+G_GNUC_INTERNAL
GType soup_connection_get_type (void);
@@ -40,46 +41,63 @@ GType soup_connection_get_type (void);
#define SOUP_CONNECTION_SOCKET_PROPERTIES "socket-properties"
#define SOUP_CONNECTION_STATE "state"
+G_GNUC_INTERNAL
void soup_connection_connect_async (SoupConnection *conn,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
gboolean soup_connection_connect_finish (SoupConnection *conn,
GAsyncResult *result,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_connection_connect_sync (SoupConnection *conn,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_connection_start_ssl_sync (SoupConnection *conn,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
void soup_connection_start_ssl_async (SoupConnection *conn,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
gboolean soup_connection_start_ssl_finish (SoupConnection *conn,
GAsyncResult *result,
GError **error);
+G_GNUC_INTERNAL
void soup_connection_disconnect (SoupConnection *conn);
+G_GNUC_INTERNAL
SoupSocket *soup_connection_get_socket (SoupConnection *conn);
+G_GNUC_INTERNAL
SoupURI *soup_connection_get_remote_uri (SoupConnection *conn);
+G_GNUC_INTERNAL
SoupURI *soup_connection_get_proxy_uri (SoupConnection *conn);
+G_GNUC_INTERNAL
gboolean soup_connection_is_via_proxy (SoupConnection *conn);
+G_GNUC_INTERNAL
gboolean soup_connection_is_tunnelled (SoupConnection *conn);
+G_GNUC_INTERNAL
SoupConnectionState soup_connection_get_state (SoupConnection *conn);
+G_GNUC_INTERNAL
void soup_connection_set_state (SoupConnection *conn,
SoupConnectionState state);
+G_GNUC_INTERNAL
gboolean soup_connection_get_ever_used (SoupConnection *conn);
+G_GNUC_INTERNAL
void soup_connection_send_request (SoupConnection *conn,
SoupMessageQueueItem *item,
SoupMessageCompletionFn completion_cb,
gpointer user_data);
+G_GNUC_INTERNAL
gboolean soup_connection_get_ssl_fallback (SoupConnection *conn);
G_END_DECLS
diff --git a/libsoup/soup-content-processor.h b/libsoup/soup-content-processor.h
index 8ee04b2..14534fa 100644
--- a/libsoup/soup-content-processor.h
+++ b/libsoup/soup-content-processor.h
@@ -42,13 +42,16 @@ struct _SoupContentProcessorInterface {
GError **error);
};
+G_GNUC_INTERNAL
GType soup_content_processor_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_content_processor_wrap_input (SoupContentProcessor *processor,
GInputStream *base_stream,
SoupMessage *msg,
GError **error);
+G_GNUC_INTERNAL
SoupProcessingStage soup_content_processor_get_processing_stage (SoupContentProcessor *processor);
G_END_DECLS
diff --git a/libsoup/soup-content-sniffer-stream.h b/libsoup/soup-content-sniffer-stream.h
index ab230f3..c5c29eb 100644
--- a/libsoup/soup-content-sniffer-stream.h
+++ b/libsoup/soup-content-sniffer-stream.h
@@ -34,12 +34,15 @@ struct _SoupContentSnifferStreamClass {
};
+G_GNUC_INTERNAL
GType soup_content_sniffer_stream_get_type (void) G_GNUC_CONST;
+G_GNUC_INTERNAL
gboolean soup_content_sniffer_stream_is_ready (SoupContentSnifferStream *sniffer,
gboolean blocking,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
const char *soup_content_sniffer_stream_sniff (SoupContentSnifferStream *sniffer,
GHashTable **params);
diff --git a/libsoup/soup-converter-wrapper.h b/libsoup/soup-converter-wrapper.h
index 62ed9da..75f7c54 100644
--- a/libsoup/soup-converter-wrapper.h
+++ b/libsoup/soup-converter-wrapper.h
@@ -35,8 +35,10 @@ typedef struct {
void (*_libsoup_reserved4) (void);
} SoupConverterWrapperClass;
+G_GNUC_INTERNAL
GType soup_converter_wrapper_get_type (void);
+G_GNUC_INTERNAL
GConverter *soup_converter_wrapper_new (GConverter *base_converter,
SoupMessage *msg);
diff --git a/libsoup/soup-directory-input-stream.h b/libsoup/soup-directory-input-stream.h
index ae2b4ba..8282ca9 100644
--- a/libsoup/soup-directory-input-stream.h
+++ b/libsoup/soup-directory-input-stream.h
@@ -51,8 +51,10 @@ struct _SoupDirectoryInputStreamClass {
GInputStreamClass parent_class;
};
+G_GNUC_INTERNAL
GType soup_directory_input_stream_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_directory_input_stream_new (GFileEnumerator *enumerator,
SoupURI *uri);
diff --git a/libsoup/soup-filter-input-stream.h b/libsoup/soup-filter-input-stream.h
index 276b60f..3f2c1e3 100644
--- a/libsoup/soup-filter-input-stream.h
+++ b/libsoup/soup-filter-input-stream.h
@@ -30,10 +30,13 @@ typedef struct {
} SoupFilterInputStreamClass;
+G_GNUC_INTERNAL
GType soup_filter_input_stream_get_type (void);
+G_GNUC_INTERNAL
GInputStream *soup_filter_input_stream_new (GInputStream *base_stream);
+G_GNUC_INTERNAL
gssize soup_filter_input_stream_read_line (SoupFilterInputStream *fstream,
void *buffer,
gsize length,
@@ -41,6 +44,7 @@ gssize soup_filter_input_stream_read_line (SoupFilterInputStream *fstre
gboolean *got_line,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
gssize soup_filter_input_stream_read_until (SoupFilterInputStream *fstream,
void *buffer,
gsize length,
diff --git a/libsoup/soup-io-stream.h b/libsoup/soup-io-stream.h
index 92c24c3..e4b67ac 100644
--- a/libsoup/soup-io-stream.h
+++ b/libsoup/soup-io-stream.h
@@ -30,8 +30,10 @@ typedef struct {
} SoupIOStreamClass;
+G_GNUC_INTERNAL
GType soup_io_stream_get_type (void);
+G_GNUC_INTERNAL
GIOStream *soup_io_stream_new (GIOStream *base_iostream,
gboolean close_on_dispose);
diff --git a/libsoup/soup-message-private.h b/libsoup/soup-message-private.h
index a9457bc..86544e5 100644
--- a/libsoup/soup-message-private.h
+++ b/libsoup/soup-message-private.h
@@ -46,6 +46,7 @@ typedef struct {
} SoupMessagePrivate;
#define SOUP_MESSAGE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SOUP_TYPE_MESSAGE,
SoupMessagePrivate))
+G_GNUC_INTERNAL
void soup_message_cleanup_response (SoupMessage *msg);
typedef enum {
@@ -69,15 +70,18 @@ typedef void (*SoupMessageCompletionFn) (SoupMessage *msg,
gpointer user_data);
+G_GNUC_INTERNAL
void soup_message_send_request (SoupMessageQueueItem *item,
SoupMessageCompletionFn completion_cb,
gpointer user_data);
+G_GNUC_INTERNAL
void soup_message_read_request (SoupMessage *msg,
SoupSocket *sock,
gboolean use_thread_context,
SoupMessageCompletionFn completion_cb,
gpointer user_data);
+G_GNUC_INTERNAL
void soup_message_io_client (SoupMessageQueueItem *item,
GIOStream *iostream,
GMainContext *async_context,
@@ -86,6 +90,7 @@ void soup_message_io_client (SoupMessageQueueItem *item,
gpointer headers_data,
SoupMessageCompletionFn completion_cb,
gpointer user_data);
+G_GNUC_INTERNAL
void soup_message_io_server (SoupMessage *msg,
GIOStream *iostream,
GMainContext *async_context,
@@ -96,64 +101,87 @@ void soup_message_io_server (SoupMessage *msg,
gpointer user_data);
/* Auth handling */
+G_GNUC_INTERNAL
void soup_message_set_auth (SoupMessage *msg,
SoupAuth *auth);
+G_GNUC_INTERNAL
SoupAuth *soup_message_get_auth (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_set_proxy_auth (SoupMessage *msg,
SoupAuth *auth);
+G_GNUC_INTERNAL
SoupAuth *soup_message_get_proxy_auth (SoupMessage *msg);
/* I/O */
+G_GNUC_INTERNAL
void soup_message_io_stop (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_io_finished (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_io_cleanup (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_io_pause (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_io_unpause (SoupMessage *msg);
+G_GNUC_INTERNAL
gboolean soup_message_io_in_progress (SoupMessage *msg);
+G_GNUC_INTERNAL
GIOStream *soup_message_io_steal (SoupMessage *msg);
+G_GNUC_INTERNAL
gboolean soup_message_io_run_until_write (SoupMessage *msg,
gboolean blocking,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_message_io_run_until_read (SoupMessage *msg,
gboolean blocking,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_message_io_run_until_finish (SoupMessage *msg,
gboolean blocking,
GCancellable *cancellable,
GError **error);
typedef gboolean (*SoupMessageSourceFunc) (SoupMessage *, gpointer);
+G_GNUC_INTERNAL
GSource *soup_message_io_get_source (SoupMessage *msg,
GCancellable *cancellable,
SoupMessageSourceFunc callback,
gpointer user_data);
+G_GNUC_INTERNAL
GInputStream *soup_message_io_get_response_istream (SoupMessage *msg,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_message_disables_feature (SoupMessage *msg,
gpointer feature);
+G_GNUC_INTERNAL
void soup_message_set_https_status (SoupMessage *msg,
SoupConnection *conn);
+G_GNUC_INTERNAL
void soup_message_network_event (SoupMessage *msg,
GSocketClientEvent event,
GIOStream *connection);
+G_GNUC_INTERNAL
GInputStream *soup_message_setup_body_istream (GInputStream *body_stream,
SoupMessage *msg,
SoupSession *session,
SoupProcessingStage start_at_stage);
+G_GNUC_INTERNAL
void soup_message_set_soup_request (SoupMessage *msg,
SoupRequest *req);
+G_GNUC_INTERNAL
SoupConnection *soup_message_get_connection (SoupMessage *msg);
+G_GNUC_INTERNAL
void soup_message_set_connection (SoupMessage *msg,
SoupConnection *conn);
diff --git a/libsoup/soup-message-queue.h b/libsoup/soup-message-queue.h
index 85012cc..05dc8f0 100644
--- a/libsoup/soup-message-queue.h
+++ b/libsoup/soup-message-queue.h
@@ -61,25 +61,34 @@ struct _SoupMessageQueueItem {
SoupMessageQueueItem *related;
};
+G_GNUC_INTERNAL
SoupMessageQueue *soup_message_queue_new (SoupSession *session);
+G_GNUC_INTERNAL
SoupMessageQueueItem *soup_message_queue_append (SoupMessageQueue *queue,
SoupMessage *msg,
SoupSessionCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
SoupMessageQueueItem *soup_message_queue_lookup (SoupMessageQueue *queue,
SoupMessage *msg);
+G_GNUC_INTERNAL
SoupMessageQueueItem *soup_message_queue_first (SoupMessageQueue *queue);
+G_GNUC_INTERNAL
SoupMessageQueueItem *soup_message_queue_next (SoupMessageQueue *queue,
SoupMessageQueueItem *item);
+G_GNUC_INTERNAL
void soup_message_queue_remove (SoupMessageQueue *queue,
SoupMessageQueueItem *item);
+G_GNUC_INTERNAL
void soup_message_queue_destroy (SoupMessageQueue *queue);
+G_GNUC_INTERNAL
void soup_message_queue_item_ref (SoupMessageQueueItem *item);
+G_GNUC_INTERNAL
void soup_message_queue_item_unref (SoupMessageQueueItem *item);
G_END_DECLS
diff --git a/libsoup/soup-misc-private.h b/libsoup/soup-misc-private.h
index 7826533..24e3be5 100644
--- a/libsoup/soup-misc-private.h
+++ b/libsoup/soup-misc-private.h
@@ -9,10 +9,14 @@
#include "soup-message-headers.h"
+G_GNUC_INTERNAL
char *soup_uri_decoded_copy (const char *str, int length, int *decoded_length);
+G_GNUC_INTERNAL
char *soup_uri_to_string_internal (SoupURI *uri, gboolean just_path_and_query,
gboolean force_port);
+G_GNUC_INTERNAL
gboolean soup_uri_is_http (SoupURI *uri, char **aliases);
+G_GNUC_INTERNAL
gboolean soup_uri_is_https (SoupURI *uri, char **aliases);
/* At some point it might be possible to mark additional methods
@@ -30,16 +34,19 @@ gboolean soup_uri_is_https (SoupURI *uri, char **aliases);
method == SOUP_METHOD_PUT || \
method == SOUP_METHOD_DELETE)
+G_GNUC_INTERNAL
GSource *soup_add_completion_reffed (GMainContext *async_context,
GSourceFunc function,
gpointer data);
+G_GNUC_INTERNAL
guint soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs,
goffset total_length,
gboolean check_satisfiable,
SoupRange **ranges,
int *length);
+G_GNUC_INTERNAL
SoupAddress *soup_address_new_from_gsockaddr (GSocketAddress *addr);
#endif /* SOUP_MISC_PRIVATE_H */
diff --git a/libsoup/soup-path-map.h b/libsoup/soup-path-map.h
index f5a8ba8..22f8aa8 100644
--- a/libsoup/soup-path-map.h
+++ b/libsoup/soup-path-map.h
@@ -10,15 +10,20 @@
typedef struct SoupPathMap SoupPathMap;
+G_GNUC_INTERNAL
SoupPathMap *soup_path_map_new (GDestroyNotify data_free_func);
+G_GNUC_INTERNAL
void soup_path_map_free (SoupPathMap *map);
+G_GNUC_INTERNAL
void soup_path_map_add (SoupPathMap *map,
const char *path,
gpointer data);
+G_GNUC_INTERNAL
void soup_path_map_remove (SoupPathMap *map,
const char *path);
+G_GNUC_INTERNAL
gpointer soup_path_map_lookup (SoupPathMap *map,
const char *path);
diff --git a/libsoup/soup-proxy-resolver-wrapper.h b/libsoup/soup-proxy-resolver-wrapper.h
index d16b57c..3957c01 100644
--- a/libsoup/soup-proxy-resolver-wrapper.h
+++ b/libsoup/soup-proxy-resolver-wrapper.h
@@ -27,8 +27,10 @@ typedef struct {
} SoupProxyResolverWrapperClass;
+G_GNUC_INTERNAL
GType soup_proxy_resolver_wrapper_get_type (void);
+G_GNUC_INTERNAL
GProxyResolver *soup_proxy_resolver_wrapper_new (SoupProxyURIResolver *soup_resolver);
#endif /* SOUP_PROXY_RESOLVER_WRAPPER_H */
diff --git a/libsoup/soup-session-private.h b/libsoup/soup-session-private.h
index dc4d300..ec20aa9 100644
--- a/libsoup/soup-session-private.h
+++ b/libsoup/soup-session-private.h
@@ -13,8 +13,10 @@
G_BEGIN_DECLS
/* "protected" methods for subclasses */
+G_GNUC_INTERNAL
SoupMessageQueue *soup_session_get_queue (SoupSession *session);
+G_GNUC_INTERNAL
SoupMessageQueueItem *soup_session_append_queue_item (SoupSession *session,
SoupMessage *msg,
gboolean async,
@@ -22,22 +24,27 @@ SoupMessageQueueItem *soup_session_append_queue_item (SoupSession *s
SoupSessionCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
void soup_session_kick_queue (SoupSession *session);
+G_GNUC_INTERNAL
GInputStream *soup_session_send_request (SoupSession *session,
SoupMessage *msg,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
void soup_session_send_request_async (SoupSession *session,
SoupMessage *msg,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
GInputStream *soup_session_send_request_finish (SoupSession *session,
GAsyncResult *result,
GError **error);
+G_GNUC_INTERNAL
void soup_session_process_queue_item (SoupSession *session,
SoupMessageQueueItem *item,
gboolean *should_prune,
diff --git a/libsoup/soup-socket-private.h b/libsoup/soup-socket-private.h
index c0bb7a1..fac5d44 100644
--- a/libsoup/soup-socket-private.h
+++ b/libsoup/soup-socket-private.h
@@ -14,36 +14,48 @@
#define SOUP_SOCKET_IOSTREAM "iostream"
#define SOUP_SOCKET_IPV6_ONLY "ipv6-only"
+G_GNUC_INTERNAL
gboolean soup_socket_connect_sync_internal (SoupSocket *sock,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
void soup_socket_connect_async_internal (SoupSocket *sock,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
gboolean soup_socket_connect_finish_internal (SoupSocket *sock,
GAsyncResult *result,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_socket_handshake_sync (SoupSocket *sock,
const char *host,
GCancellable *cancellable,
GError **error);
+G_GNUC_INTERNAL
void soup_socket_handshake_async (SoupSocket *sock,
const char *host,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+G_GNUC_INTERNAL
gboolean soup_socket_handshake_finish (SoupSocket *sock,
GAsyncResult *result,
GError **error);
+G_GNUC_INTERNAL
gboolean soup_socket_is_readable (SoupSocket *sock);
+G_GNUC_INTERNAL
GSocket *soup_socket_get_gsocket (SoupSocket *sock);
+G_GNUC_INTERNAL
GSocket *soup_socket_steal_gsocket (SoupSocket *sock);
+G_GNUC_INTERNAL
GIOStream *soup_socket_get_connection (SoupSocket *sock);
+G_GNUC_INTERNAL
GIOStream *soup_socket_get_iostream (SoupSocket *sock);
+G_GNUC_INTERNAL
SoupURI *soup_socket_get_http_proxy_uri (SoupSocket *sock);
@@ -65,9 +77,11 @@ typedef struct {
guint ref_count;
} SoupSocketProperties;
+G_GNUC_INTERNAL
GType soup_socket_properties_get_type (void);
#define SOUP_TYPE_SOCKET_PROPERTIES (soup_socket_properties_get_type ())
+G_GNUC_INTERNAL
SoupSocketProperties *soup_socket_properties_new (GMainContext *async_context,
gboolean use_thread_context,
GProxyResolver *proxy_resolver,
@@ -78,10 +92,14 @@ SoupSocketProperties *soup_socket_properties_new (GMainContext *async_conte
guint io_timeout,
guint idle_timeout);
+G_GNUC_INTERNAL
SoupSocketProperties *soup_socket_properties_ref (SoupSocketProperties *props);
+G_GNUC_INTERNAL
void soup_socket_properties_unref (SoupSocketProperties *props);
+G_GNUC_INTERNAL
void soup_socket_properties_push_async_context (SoupSocketProperties *props);
+G_GNUC_INTERNAL
void soup_socket_properties_pop_async_context (SoupSocketProperties *props);
#endif /* SOUP_SOCKET_PRIVATE_H */
diff --git a/libsoup/soup-xmlrpc.c b/libsoup/soup-xmlrpc.c
index b1673d9..0cf2604 100644
--- a/libsoup/soup-xmlrpc.c
+++ b/libsoup/soup-xmlrpc.c
@@ -413,6 +413,7 @@ soup_xmlrpc_build_response (GVariant *value, GError **error)
return body;
}
+G_GNUC_INTERNAL
char *
soup_xmlrpc_build_faultv (int fault_code,
const char *fault_format,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]