Skip to content

Commit

Permalink
Changed internal API List_to_LDAPControls() to LDAPControls_from_obje…
Browse files Browse the repository at this point in the history
…ct()

Reasons: exported symbols of the library should begin with "LDAP",
also gives us a function with a converter signature we can use later.
  • Loading branch information
leonard committed Aug 4, 2009
1 parent 0341c24 commit 5fac716
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Modules/ldapcontrol.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* See http://www.python-ldap.org/ for details.
* $Id: ldapcontrol.h,v 1.6 2009/08/04 05:39:10 leonard Exp $ */

#ifndef __h_ldapcontrol
#define __h_ldapcontrol

#include "common.h"
#include "ldap.h"

void LDAPinit_control(PyObject *d);
void LDAPControl_List_DEL( LDAPControl** );
int LDAPControls_from_object(PyObject *, LDAPControl ***);
PyObject* LDAPControls_to_List(LDAPControl **ldcs);

#endif /* __h_ldapcontrol */

0 comments on commit 5fac716

Please sign in to comment.