@@ -243,8 +243,8 @@ typedef struct sf_parser {
243
243
/**
244
244
* @function
245
245
*
246
- * `sf_parser_init` initializes |sfp| with the given buffer pointed by
247
- * |data| of length |datalen|.
246
+ * `sf_parser_init` initializes |sfp| with the given data encoded in
247
+ * Structured Field Values pointed by |data| of length |datalen|.
248
248
*/
249
249
void sf_parser_init (sf_parser * sfp , const uint8_t * data , size_t datalen );
250
250
@@ -378,7 +378,9 @@ int sf_parser_inner_list(sf_parser *sfp, sf_value *dest);
378
378
* `sf_parser_param`, otherwise the behavior is undefined.
379
379
*
380
380
* :member:`dest->base <sf_vec.base>` must point to the buffer that
381
- * has sufficient space to store the unescaped string.
381
+ * has sufficient space to store the unescaped string. The memory
382
+ * areas pointed by :member:`dest->base <sf_vec.base>` and
383
+ * :member:`src->base <sf_vec.base>` must not overlap.
382
384
*
383
385
* This function sets the length of unescaped string to
384
386
* :member:`dest->len <sf_vec.len>`.
@@ -414,7 +416,9 @@ void sf_base64decode(sf_vec *dest, const sf_vec *src);
414
416
* otherwise the behavior is undefined.
415
417
*
416
418
* :member:`dest->base <sf_vec.base>` must point to the buffer that
417
- * has sufficient space to store the decoded byte string.
419
+ * has sufficient space to store the decoded byte string. The memory
420
+ * areas pointed by :member:`dest->base <sf_vec.base>` and
421
+ * :member:`src->base <sf_vec.base>` must not overlap.
418
422
*
419
423
* This function sets the length of decoded byte string to
420
424
* :member:`dest->len <sf_vec.len>`.
0 commit comments