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

Revision 21108, 1.3 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) 2001-2002, Ximian, Inc.
4 */
5
6#ifndef SOUP_METHOD_H
7#define SOUP_METHOD_H 1
8
9#define SOUP_METHOD_POST      "POST"
10#define SOUP_METHOD_GET       "GET"
11#define SOUP_METHOD_HEAD      "HEAD"
12#define SOUP_METHOD_OPTIONS   "OPTIONS"
13#define SOUP_METHOD_PUT       "PUT"
14#define SOUP_METHOD_MOVE      "MOVE"
15#define SOUP_METHOD_COPY      "COPY"
16#define SOUP_METHOD_DELETE    "DELETE"
17#define SOUP_METHOD_TRACE     "TRACE"
18#define SOUP_METHOD_CONNECT   "CONNECT"
19#define SOUP_METHOD_MKCOL     "MKCOL"
20#define SOUP_METHOD_PROPPATCH "PROPPATCH"
21#define SOUP_METHOD_PROPFIND  "PROPFIND"
22#define SOUP_METHOD_PATCH     "PATCH"
23#define SOUP_METHOD_LOCK      "LOCK"
24#define SOUP_METHOD_UNLOCK    "UNLOCK"
25
26typedef enum {
27        SOUP_METHOD_ID_UNKNOWN = 0,
28        SOUP_METHOD_ID_POST,
29        SOUP_METHOD_ID_GET,
30        SOUP_METHOD_ID_HEAD,
31        SOUP_METHOD_ID_OPTIONS,
32        SOUP_METHOD_ID_PUT,
33        SOUP_METHOD_ID_MOVE,
34        SOUP_METHOD_ID_COPY,
35        SOUP_METHOD_ID_DELETE,
36        SOUP_METHOD_ID_TRACE,
37        SOUP_METHOD_ID_CONNECT,
38        SOUP_METHOD_ID_MKCOL,
39        SOUP_METHOD_ID_PROPPATCH,
40        SOUP_METHOD_ID_PROPFIND,
41        SOUP_METHOD_ID_PATCH,
42        SOUP_METHOD_ID_LOCK,
43        SOUP_METHOD_ID_UNLOCK
44} SoupMethodId;
45
46SoupMethodId soup_method_get_id (const char *method);
47
48#endif /* SOUP_METHOD_H */
Note: See TracBrowser for help on using the repository browser.