MCPcopy Create free account
hub / github.com/ElementsProject/lightning / mkdatastorekey_

Function mkdatastorekey_

common/mkdatastorekey.c:6–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4#include <common/utils.h>
5
6const char **mkdatastorekey_(const tal_t *ctx, ...)
7{
8 va_list ap;
9 const char *s;
10 const char **key = tal_arr(ctx, const char *, 0);
11
12 va_start(ap, ctx);
13 while ((s = va_arg(ap, const char *)) != NULL)
14 tal_arr_expand(&key, tal_strdup(key, s));
15 va_end(ap);
16
17 return key;
18}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected