You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
360 B

#include <ccan/tal/str/str.h>
#include <common/peer_billboard.h>
#include <common/status.h>
#include <common/status_wiregen.h>
void peer_billboard(bool perm, const char *fmt, ...)
{
va_list ap;
char *str;
va_start(ap, fmt);
str = tal_vfmt(NULL, fmt, ap);
va_end(ap);
status_send(take(towire_status_peer_billboard(NULL, perm, str)));
tal_free(str);
}