Sha256: aba48f8a06c29b76cb7337fe9025690061728f24e1680fffbf403f9d4dca2696

Contents?: true

Size: 1.7 KB

Versions: 20

Compression:

Stored size: 1.7 KB

Contents

/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright (C) 2008 Red Hat, Inc.
 */

#ifndef SOUP_MULTIPART_H
#define SOUP_MULTIPART_H 1

#include <libsoup/soup-types.h>
#include <libsoup/soup-message-body.h>
#include <libsoup/soup-message-headers.h>

G_BEGIN_DECLS

typedef struct SoupMultipart SoupMultipart;

GType soup_multipart_get_type (void);
#define SOUP_TYPE_MULTIPART (soup_multipart_get_type ())

SoupMultipart *soup_multipart_new              (const char          *mime_type);
SoupMultipart *soup_multipart_new_from_message (SoupMessageHeaders  *headers,
						SoupMessageBody     *body);

int      soup_multipart_get_length         (SoupMultipart       *multipart);
gboolean soup_multipart_get_part           (SoupMultipart       *multipart,
					    int                  part,
					    SoupMessageHeaders **headers,
					    SoupBuffer         **body);

void     soup_multipart_append_part        (SoupMultipart       *multipart,
					    SoupMessageHeaders  *headers,
					    SoupBuffer          *body);

void     soup_multipart_append_form_string (SoupMultipart       *multipart,
					    const char          *control_name,
					    const char          *data);
void     soup_multipart_append_form_file   (SoupMultipart       *multipart,
					    const char          *control_name,
					    const char          *filename,
					    const char          *content_type,
					    SoupBuffer          *body);

void     soup_multipart_to_message         (SoupMultipart       *multipart,
					    SoupMessageHeaders  *dest_headers,
					    SoupMessageBody     *dest_body);

void     soup_multipart_free               (SoupMultipart       *multipart);

G_END_DECLS

#endif /* SOUP_MULTIPART_H */

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gstreamer-2.0.2-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-2.0.1-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-2.0.0-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.6-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.5-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.4-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.3-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.2-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.1-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.2.0-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.9-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.8-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.7-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.6-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.5-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.4-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.3-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.2-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.1-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h
gstreamer-1.1.0-x86-mingw32 vendor/local/include/libsoup-2.4/libsoup/soup-multipart.h