source:
trunk/third/libsoup/libsoup/soup-message-queue.h
@
21108
Revision 21108, 1.2 KB checked in by ghudson, 20 years ago (diff) |
---|
Line | |
---|---|
1 | /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ |
2 | /* |
3 | * Copyright (C) 2003, Ximian, Inc. |
4 | */ |
5 | |
6 | #ifndef SOUP_MESSAGE_QUEUE_H |
7 | #define SOUP_MESSAGE_QUEUE_H 1 |
8 | |
9 | #include <glib.h> |
10 | #include <libsoup/soup-message.h> |
11 | |
12 | typedef struct SoupMessageQueue SoupMessageQueue; |
13 | |
14 | typedef struct { |
15 | GList *cur, *next; |
16 | } SoupMessageQueueIter; |
17 | |
18 | SoupMessageQueue *soup_message_queue_new (void); |
19 | void soup_message_queue_append (SoupMessageQueue *queue, |
20 | SoupMessage *msg); |
21 | |
22 | SoupMessage *soup_message_queue_first (SoupMessageQueue *queue, |
23 | SoupMessageQueueIter *iter); |
24 | SoupMessage *soup_message_queue_next (SoupMessageQueue *queue, |
25 | SoupMessageQueueIter *iter); |
26 | SoupMessage *soup_message_queue_remove (SoupMessageQueue *queue, |
27 | SoupMessageQueueIter *iter); |
28 | |
29 | void soup_message_queue_free_iter (SoupMessageQueue *queue, |
30 | SoupMessageQueueIter *iter); |
31 | |
32 | void soup_message_queue_destroy (SoupMessageQueue *queue); |
33 | |
34 | void soup_message_queue_remove_message (SoupMessageQueue *queue, |
35 | SoupMessage *msg); |
36 | |
37 | #endif /* SOUP_MESSAGE_QUEUE_H */ |
Note: See TracBrowser
for help on using the repository browser.