X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=util.h;h=a2ef82864b84d247de94e21ca4c46b8eb079f6f6;hb=f4d23a6b26014ecf606dcc574e5536b8c3798c03;hp=eddb06db3f57667ca1a9506db6076726110c73e7;hpb=7dae56bc17f51e875b436ec63e035be12c4a6fcf;p=secnet.git diff --git a/util.h b/util.h index eddb06d..a2ef828 100644 --- a/util.h +++ b/util.h @@ -81,6 +81,9 @@ const char *priomsg_getmessage(const struct priomsg *pm, const char *defmsg); /* return value is null-terminated, valid until next call * or until defmsg is no longer valid ZM */ +bool_t priomsg_update_fixed(struct priomsg *pm, int prio, const char *m); + /* convenience combination of _update_p and truncmsg_add_string */ + /* * void BUF_ADD_BYTES(append, struct buffer_if*, const void*, int32_t size); * void BUF_ADD_BYTES(prepend, struct buffer_if*, const void*, int32_t size);