File: gevent.ares.h

package info (click to toggle)
python-gevent 1.0.1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 9,948 kB
  • ctags: 12,954
  • sloc: python: 39,061; ansic: 26,289; sh: 13,582; makefile: 833; awk: 18
file content (42 lines) | stat: -rw-r--r-- 944 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef __PYX_HAVE__gevent__ares
#define __PYX_HAVE__gevent__ares

struct PyGeventAresChannelObject;

/* "gevent/ares.pyx":235
 * 
 * 
 * cdef public class channel [object PyGeventAresChannelObject, type PyGeventAresChannel_Type]:             # <<<<<<<<<<<<<<
 * 
 *     cdef public object loop
 */
struct PyGeventAresChannelObject {
  PyObject_HEAD
  struct __pyx_vtabstruct_6gevent_4ares_channel *__pyx_vtab;
  PyObject *loop;
  struct ares_channeldata *channel;
  PyObject *_watchers;
  PyObject *_timer;
};

#ifndef __PYX_HAVE_API__gevent__ares

#ifndef __PYX_EXTERN_C
  #ifdef __cplusplus
    #define __PYX_EXTERN_C extern "C"
  #else
    #define __PYX_EXTERN_C extern
  #endif
#endif

__PYX_EXTERN_C DL_IMPORT(PyTypeObject) PyGeventAresChannel_Type;

#endif /* !__PYX_HAVE_API__gevent__ares */

#if PY_MAJOR_VERSION < 3
PyMODINIT_FUNC initares(void);
#else
PyMODINIT_FUNC PyInit_ares(void);
#endif

#endif /* !__PYX_HAVE__gevent__ares */