summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
f5245f9)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
return be64_to_cpu(*(uint64_t *) blobmsg_data(attr));
}
return be64_to_cpu(*(uint64_t *) blobmsg_data(attr));
}
+static inline char *blobmsg_get_string(struct blob_attr *attr)
+{
+ return blobmsg_data(attr);
+}
+
void *blobmsg_alloc_string_buffer(struct blob_buf *buf, const char *name, int maxlen);
void blobmsg_add_string_buffer(struct blob_buf *buf);
void *blobmsg_alloc_string_buffer(struct blob_buf *buf, const char *name, int maxlen);
void blobmsg_add_string_buffer(struct blob_buf *buf);