Example #1
0
File: ht.c Project: taysom/tau
STATIC void rec_copy(Node_s *dst, int a, Node_s *src, int b)
{
	Hrec_s rec = get_rec(src, b);

	store_lump(dst, rec.val);
	store_key(dst, rec.key);
	store_end(dst, a);
}
Example #2
0
void linda_end(hlinda *h, int dbsync)
{
	if (!h)
		return;

	store_end(h->hst, dbsync);
	linda_release(h);
	free(h);
}
Example #3
0
File: ht.c Project: taysom/tau
STATIC void store_rec(Node_s *node, Key_t key, Lump_s val, unint i)
{
	store_lump(node, val);
	store_key(node, key);
	store_end(node, i);
}