X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=blob.h;h=10adde87c0784dff18c3732e2223d41e57a691d2;hp=201f508528293e4132dd3e4a8a3be49b4340133c;hb=dee81b4f7902c5b59654f4e8fdbb153bb4f67c62;hpb=932914c1b1ab4b4e94b62c9e6ed9935d4f0b245e diff --git a/blob.h b/blob.h index 201f508..10adde8 100644 --- a/blob.h +++ b/blob.h @@ -213,7 +213,9 @@ blob_next(const struct blob_attr *attr) return (struct blob_attr *) ((char *) attr + blob_pad_len(attr)); } +extern bool blob_attr_equal(const struct blob_attr *a1, const struct blob_attr *a2); extern int blob_buf_init(struct blob_buf *buf, int id); +extern void blob_buf_free(struct blob_buf *buf); extern struct blob_attr *blob_new(struct blob_buf *buf, int id, int payload); extern void *blob_nest_start(struct blob_buf *buf, int id); extern void blob_nest_end(struct blob_buf *buf, void *cookie);