~ubuntu-branches/ubuntu/breezy/libapache2-mod-python/breezy-security

« back to all changes in this revision

Viewing changes to src/include/hlistobject.h

  • Committer: Bazaar Package Importer
  • Author(s): Thom May
  • Date: 2004-09-06 20:27:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040906202757-yzpyu1bcabgpjtiu
Tags: upstream-3.1.3
ImportĀ upstreamĀ versionĀ 3.1.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2004 Apache Software Foundation 
 
3
 * 
 
4
 * Licensed under the Apache License, Version 2.0 (the "License"); you
 
5
 * may not use this file except in compliance with the License.  You
 
6
 * may obtain a copy of the License at
 
7
 *
 
8
 *      http://www.apache.org/licenses/LICENSE-2.0
 
9
 *
 
10
 * Unless required by applicable law or agreed to in writing, software
 
11
 * distributed under the License is distributed on an "AS IS" BASIS,
 
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 
13
 * implied.  See the License for the specific language governing
 
14
 * permissions and limitations under the License.
 
15
 *
 
16
 * Originally developed by Gregory Trubetskoy.
 
17
 *
 
18
 *
 
19
 * hlistobject.h 
 
20
 *
 
21
 * $Id: hlistobject.h,v 1.6 2004/02/16 19:47:28 grisha Exp $
 
22
 *
 
23
 * See accompanying documentation and source code comments 
 
24
 * for details.
 
25
 *
 
26
 */
 
27
 
 
28
#ifndef Mp_HLISTOBJECT_H
 
29
#define Mp_HLISTOBJECT_H
 
30
#ifdef __cplusplus
 
31
extern "C" {
 
32
#endif
 
33
 
 
34
    typedef struct hlist {
 
35
        PyObject_HEAD
 
36
        struct hl_entry *head;
 
37
        apr_pool_t *pool;
 
38
    } hlistobject;
 
39
 
 
40
    extern DL_IMPORT(PyTypeObject) MpHList_Type;
 
41
    
 
42
#define MpHList_Check(op) ((op)->ob_type == &MpHList_Type)
 
43
 
 
44
    extern DL_IMPORT(PyObject *)MpHList_FromHLEntry Py_PROTO((hl_entry *hse));
 
45
    extern DL_IMPORT(void)MpHList_Append Py_PROTO((hlistobject *self, hl_entry *hse));
 
46
    extern DL_IMPORT(void)MpHList_Append Py_PROTO((hlistobject *self, hl_entry *hle));
 
47
    
 
48
#ifdef __cplusplus
 
49
}
 
50
#endif
 
51
#endif /* !Mp_HLISTOBJECT_H */