#ifndef LDAPSEARCHITER_H_ #define LDAPSEARCHITER_H_ #define PY_SSIZE_T_CLEAN #include #include "ldapconnection.h" typedef struct { PyObject_HEAD PyObject *buffer; LDAPConnection *conn; ldapsearchparams *params; struct berval *cookie; int page_size; LDAPVLVInfo *vlv_info; char auto_acquire; } LDAPSearchIter; extern PyTypeObject LDAPSearchIterType; LDAPSearchIter *LDAPSearchIter_New(LDAPConnection *conn); #endif /* LDAPSEARCHITER_H_ */