diff options
Diffstat (limited to 'fmt_ldapstring.c')
-rw-r--r-- | fmt_ldapstring.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fmt_ldapstring.c b/fmt_ldapstring.c new file mode 100644 index 0000000..48dd546 --- /dev/null +++ b/fmt_ldapstring.c @@ -0,0 +1,5 @@ +#include "ldap.h" + +size_t fmt_ldapstring(char* dest,const struct string* s) { + return fmt_asn1OCTETSTRING(dest,s->s,s->l); +} |