Welcome to little lamb

Code » limb » release » tree

[release] / src / liblimb / cdb.h / cdb_init_frommem.c

/* This file is part of limb                           https://lila.oss/limb
 * Copyright (C) 2023 Olivier Brunel                          jjk@jjacky.com */
/* SPDX-License-Identifier: GPL-2.0-only */
#include <limb/cdb.h>

void
cdb_init_frommem(cdb *c, const char *mem, u32 len)
{
    c->map = mem;
    c->size = len;
}