source: trunk/third/libsoup/libsoup/soup-server-message.h @ 21108

Revision 21108, 1.9 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21107, which included commits to RCS files with non-trunk default branches.
Line 
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_SERVER_MESSAGE_H
7#define SOUP_SERVER_MESSAGE_H 1
8
9#include <libsoup/soup-message.h>
10
11#define SOUP_TYPE_SERVER_MESSAGE            (soup_server_message_get_type ())
12#define SOUP_SERVER_MESSAGE(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_SERVER_MESSAGE, SoupServerMessage))
13#define SOUP_SERVER_MESSAGE_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_SERVER_MESSAGE, SoupServerMessageClass))
14#define SOUP_IS_SERVER_MESSAGE(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_SERVER_MESSAGE))
15#define SOUP_IS_SERVER_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_SERVER_MESSAGE))
16#define SOUP_SERVER_MESSAGE_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SOUP_TYPE_SERVER_MESSAGE, SoupServerMessageClass))
17
18typedef struct SoupServerMessagePrivate SoupServerMessagePrivate;
19
20struct SoupServerMessage {
21        SoupMessage parent;
22
23        SoupServerMessagePrivate *priv;
24};
25
26typedef struct {
27        SoupMessageClass parent_class;
28
29} SoupServerMessageClass;
30
31GType soup_server_message_get_type (void);
32
33
34SoupServerMessage    *soup_server_message_new          (SoupServer           *server);
35
36SoupServer           *soup_server_message_get_server   (SoupServerMessage    *smsg);
37
38void                  soup_server_message_set_encoding (SoupServerMessage    *smsg,
39                                                        SoupTransferEncoding  encoding);
40SoupTransferEncoding  soup_server_message_get_encoding (SoupServerMessage    *smsg);
41
42void                  soup_server_message_start        (SoupServerMessage    *smsg);
43gboolean              soup_server_message_is_started   (SoupServerMessage    *smsg);
44
45void                  soup_server_message_finish       (SoupServerMessage    *smsg);
46gboolean              soup_server_message_is_finished  (SoupServerMessage    *smsg);
47
48
49
50#endif /* SOUP_SERVER_H */
Note: See TracBrowser for help on using the repository browser.