Copies a string into the provided buffer, in JSON format. */
| 174 | |
| 175 | /* Copies a string into the provided buffer, in JSON format. */ |
| 176 | static inline int |
| 177 | rte_tel_json_str(char *buf, const int len, const int used, const char *str) |
| 178 | { |
| 179 | return used + __json_format_str(buf + used, len - used, "\"", str, "\""); |
| 180 | } |
| 181 | |
| 182 | /* Appends a string into the JSON array in the provided buffer. */ |
| 183 | static inline int |