This does not change the library ABI - the only callers are internal.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* now + ttl.
*/
-int vbuf__append_quoted1035(vbuf *vb, const byte *buf, int len);
-
bool adns__labels_equal(const byte *a, int al, const byte *b, int bl);
/* From event.c: */
#include "internal.h"
-int vbuf__append_quoted1035(vbuf *vb, const byte *buf, int len) {
+static int vbuf_append_quoted1035(vbuf *vb, const byte *buf, int len) {
char qbuf[10];
int i, ch;
if (!adns__vbuf_append(vb,".",1)) return adns_s_nomemory;
}
if (flags & pdf_quoteok) {
- if (!vbuf__append_quoted1035(vb,dgram+labstart,lablen))
+ if (!vbuf_append_quoted1035(vb,dgram+labstart,lablen))
return adns_s_nomemory;
} else {
ch= dgram[labstart];