summaryrefslogtreecommitdiffstats
path: root/fmt_ldapava.c
blob: 956e5b288ae6c1a95ab683446d9f4c8853bfcda2 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include "ldap.h"

size_t fmt_ldapava(char* dest,const struct AttributeValueAssertion* a) {
  size_t sum,l;
  sum=fmt_ldapstring(dest,&a->desc);
  if (dest) dest+=sum;
  l=fmt_ldapstring(dest,&a->value);
  return sum+l;
}