Copies an empty object into the provided buffer. */
| 167 | |
| 168 | /* Copies an empty object into the provided buffer. */ |
| 169 | static inline int |
| 170 | rte_tel_json_empty_obj(char *buf, const int len, const int used) |
| 171 | { |
| 172 | return used + __json_snprintf(buf + used, len - used, "{}"); |
| 173 | } |
| 174 | |
| 175 | /* Copies a string into the provided buffer, in JSON format. */ |
| 176 | static inline int |