Remove build warning
[platform/upstream/libsoup.git] / libsoup / soup-session-private.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3  * Copyright (C) 2000-2003, Ximian, Inc.
4  */
5
6 #ifndef SOUP_SESSION_PRIVATE_H
7 #define SOUP_SESSION_PRIVATE_H 1
8
9 #include "soup-session.h"
10 #include "soup-message-private.h"
11 #include "soup-proxy-uri-resolver.h"
12 #include "TIZEN.h"
13
14 G_BEGIN_DECLS
15
16 /* "protected" methods for subclasses */
17 SoupMessageQueue     *soup_session_get_queue            (SoupSession          *session);
18
19 SoupMessageQueueItem *soup_session_append_queue_item    (SoupSession          *session,
20                                                          SoupMessage          *msg,
21                                                          gboolean              async,
22                                                          gboolean              new_api,
23                                                          SoupSessionCallback   callback,
24                                                          gpointer              user_data);
25
26 void                  soup_session_kick_queue           (SoupSession          *session);
27
28 GInputStream         *soup_session_send_request         (SoupSession          *session,
29                                                          SoupMessage          *msg,
30                                                          GCancellable         *cancellable,
31                                                          GError              **error);
32
33 void                  soup_session_send_request_async   (SoupSession          *session,
34                                                          SoupMessage          *msg,
35                                                          GCancellable         *cancellable,
36                                                          GAsyncReadyCallback   callback,
37                                                          gpointer              user_data);
38 GInputStream         *soup_session_send_request_finish  (SoupSession          *session,
39                                                          GAsyncResult         *result,
40                                                          GError              **error);
41
42 void                  soup_session_process_queue_item   (SoupSession          *session,
43                                                          SoupMessageQueueItem *item,
44                                                          gboolean             *should_prune,
45                                                          gboolean              loop);
46
47 #if ENABLE(TIZEN_CERTIFICATE_FILE_SET)
48 void                    soup_session_set_certificate_file (SoupSession  *session);
49 void                    soup_session_tls_start_idle_timer (SoupSession *session, guint idle_timeout);
50 void                    soup_session_tls_stop_idle_timer (SoupSession *session);
51 gboolean                soup_session_is_tls_db_initialized (SoupSession* session);
52 #endif
53 #if ENABLE(TIZEN_TV_CREATE_IDLE_TCP_CONNECTION)
54 guint                 soup_session_get_idle_connection_for_host      (SoupSession  *session,
55                                                                  SoupURI      *uri);
56 #endif
57
58 G_END_DECLS
59
60 #endif /* SOUP_SESSION_PRIVATE_H */