[Date Prev][Date Next]
(ITS#8603) [PATCH] adds ldif_open_mem()
Full_Name: Brett Sheffield
OS: Gentoo GNU/Linux
Submission from: (NULL) (2001:470:6e0d:0:96de:80ff:fe2d:3aa9)
Patch to add ldif_open_mem() function to ldif API.
ldif_open_mem() is the fmemopen(3) equivalent of ldif_open() which opens
an ldif steam from memory, rather than from a file.
I originally added a similar function to my project libgladdb in 2014, but it
really belongs in openldap itself as it is generally useful.
The attached modifications to OpenLDAP Software are subject to the following
Copyright 2014, 2017 Brett Sheffield
Redistribution and use in source and binary forms, with or without modification,
are permitted only as authorized by the OpenLDAP Public License.