source: trunk/third/libsoup/libsoup/soup-message-filter.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) 2000-2003, Ximian, Inc.
4 */
5
6#ifndef SOUP_MESSAGE_FILTER_H
7#define SOUP_MESSAGE_FILTER_H 1
8
9#include <libsoup/soup-types.h>
10
11#define SOUP_TYPE_MESSAGE_FILTER            (soup_message_filter_get_type ())
12#define SOUP_MESSAGE_FILTER(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SOUP_TYPE_MESSAGE_FILTER, SoupMessageFilter))
13#define SOUP_MESSAGE_FILTER_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SOUP_TYPE_MESSAGE_FILTER, SoupMessageFilterClass))
14#define SOUP_IS_MESSAGE_FILTER(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SOUP_TYPE_MESSAGE_FILTER))
15#define SOUP_IS_MESSAGE_FILTER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), SOUP_TYPE_MESSAGE_FILTER))
16#define SOUP_MESSAGE_FILTER_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_INTERFACE ((obj), SOUP_TYPE_MESSAGE_FILTER, SoupMessageFilterClass))
17
18typedef struct {
19        GTypeInterface parent;
20
21        /* methods */
22        void  (*setup_message) (SoupMessageFilter *filter, SoupMessage *msg);
23} SoupMessageFilterClass;
24
25GType soup_message_filter_get_type (void);
26
27void soup_message_filter_setup_message (SoupMessageFilter *filter,
28                                        SoupMessage       *msg);
29
30#endif /* SOUP_MESSAGE_FILTER_H */
Note: See TracBrowser for help on using the repository browser.