Files
mars-tinyldap/bstrlen.c
2007-06-28 22:17:33 +00:00

9 lines
169 B
C

#include <string.h>
#include "bstr.h"
#include "uint32.h"
#include "str.h"
size_t bstrlen(const char* a) {
if (*a) return str_len(a); else return uint32_read(a+1);
}