File: template.h

package info (click to toggle)
python-ldap 1.9.999.pre04-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 312 kB
  • ctags: 475
  • sloc: ansic: 2,973; python: 1,141; makefile: 84; sh: 4
file content (58 lines) | stat: -rw-r--r-- 1,213 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* David Leonard <david.leonard@csee.uq.edu.au>, 2000. Public domain. */
#ifndef __h_TemplateObject 
#define __h_TemplateObject 

/* $Id: template.h,v 1.2 2000/08/10 22:29:22 leonard Exp $ */

#if defined(HAVE_LDAP_INIT_TEMPLATES)

typedef struct {
	PyObject_HEAD
	struct ldap_disptmpl	*disptmpls;
} TemplatesObject;

typedef struct {
	PyObject_HEAD
	TemplatesObject		*templates;
	struct ldap_disptmpl	*disptmpl;
	PyObject		*appdata;
} TemplateObject;

typedef struct {
	PyObject_HEAD
	TemplateObject		*template;
} TemplateRowsObject;

typedef struct {
	PyObject_HEAD
	TemplateObject		*template;
	struct ldap_tmplitem	*row;
} TemplateItemsObject;

typedef struct {
	PyObject_HEAD
	TemplateObject 		*template;
	PyObject 		*appdata;
	struct ldap_tmplitem 	*item;
} TemplateItemObject;

typedef struct {
	PyObject_HEAD
	TemplateObject		*template;
	struct ldap_adddeflist	*def;
} TemplateDefListObject;

typedef struct {
	PyObject_HEAD
	TemplateObject		*template;
	struct ldap_adddeflist	*def;
} TemplateDefaultObject;

void LDAPinit_template(PyObject *);
PyObject *l_init_templates(PyObject *, PyObject *);
extern char l_init_templates_doc[];

#endif /* HAVE_LDAP_INIT_TEMPLATES */

#endif /* __h_TemplateObject */