blob: 9e46292959165573a2f226d9dccd1ea061a8a244 (
plain)
1
2
3
4
5
6
7
8
9
|
/* ISC license. */
#include <skalibs/cdb.h>
#include "cdb-internal.h"
char const *cdb_p (cdb const *c, uint32_t len, uint32_t pos)
{
return pos <= c->size && len <= c->size - pos ? c->map + pos : 0 ;
}
|