mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-19 21:32:58 -05:00
Added OpenLDAP-specific SLAPI for getting entry ID
This commit is contained in:
parent
97b9eb2e55
commit
8de6186e54
2 changed files with 11 additions and 0 deletions
|
|
@ -132,6 +132,16 @@ slapi_entry_get_dn( Slapi_Entry *e )
|
|||
#endif /* !defined(LDAP_SLAPI) */
|
||||
}
|
||||
|
||||
int
|
||||
slapi_x_entry_get_id( Slapi_Entry *e )
|
||||
{
|
||||
#if defined(LDAP_SLAPI)
|
||||
return e->e_id;
|
||||
#else
|
||||
return NOID;
|
||||
#endif /* !defined(LDAP_SLAPI) */
|
||||
}
|
||||
|
||||
void
|
||||
slapi_entry_set_dn(
|
||||
Slapi_Entry *e,
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ int slapi_entry_attr_merge( Slapi_Entry *e, char *type, struct berval **vals );
|
|||
int slapi_entry_attr_find( Slapi_Entry *e, char *type, Slapi_Attr **attr );
|
||||
int slapi_entry_attr_delete( Slapi_Entry *e, char *type );
|
||||
char *slapi_entry_get_dn( Slapi_Entry *e );
|
||||
int slapi_x_entry_get_id( Slapi_Entry *e );
|
||||
void slapi_entry_set_dn( Slapi_Entry *e, char *dn );
|
||||
Slapi_Entry *slapi_entry_dup( Slapi_Entry *e );
|
||||
Slapi_Entry *slapi_entry_alloc();
|
||||
|
|
|
|||
Loading…
Reference in a new issue