Files
mars-tinyldap/bstrlen.c
2004-02-05 00:08:49 +00:00

9 lines
166 B
C

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