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

Revision 21108, 1.2 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) 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
12typedef struct SoupMessageQueue SoupMessageQueue;
13
14typedef struct {
15        GList *cur, *next;
16} SoupMessageQueueIter;
17
18SoupMessageQueue *soup_message_queue_new        (void);
19void              soup_message_queue_append     (SoupMessageQueue     *queue,
20                                                 SoupMessage          *msg);
21
22SoupMessage      *soup_message_queue_first      (SoupMessageQueue     *queue,
23                                                 SoupMessageQueueIter *iter);
24SoupMessage      *soup_message_queue_next       (SoupMessageQueue     *queue,
25                                                 SoupMessageQueueIter *iter);
26SoupMessage      *soup_message_queue_remove     (SoupMessageQueue     *queue,
27                                                 SoupMessageQueueIter *iter);
28
29void              soup_message_queue_free_iter  (SoupMessageQueue     *queue,
30                                                 SoupMessageQueueIter *iter);
31
32void              soup_message_queue_destroy    (SoupMessageQueue     *queue);
33
34void              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.