diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2018-05-08 03:44:38 +0000 |
| commit | 3faf8d6bffc5d0fb2525ba37bb504c53366caf9d (patch) | |
| tree | 7e47911263e75034b767fe34b2f8d3d17e91f66d /subversion/include/svn_checksum.h | |
| parent | a55fb3c0d5eca7d887798125d5b95942b1f01d4b (diff) | |
Diffstat (limited to 'subversion/include/svn_checksum.h')
| -rw-r--r-- | subversion/include/svn_checksum.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/subversion/include/svn_checksum.h b/subversion/include/svn_checksum.h index e332e87e328d..1e58167ab068 100644 --- a/subversion/include/svn_checksum.h +++ b/subversion/include/svn_checksum.h @@ -177,6 +177,10 @@ svn_checksum_deserialize(const svn_checksum_t **checksum, * * @since New in 1.6. */ +/* ### TODO: When revving this, make it set @a *checksum to a non-NULL struct + * ### when @a hex is the all-zeroes checksum. See + * ### http://mail-archives.apache.org/mod_mbox/subversion-dev/201609.mbox/%3c00cd26ab-bdb3-67b4-ca6b-063266493874%40apache.org%3e + */ svn_error_t * svn_checksum_parse_hex(svn_checksum_t **checksum, svn_checksum_kind_t kind, @@ -219,6 +223,15 @@ svn_checksum_ctx_create(svn_checksum_kind_t kind, apr_pool_t *pool); /** + * Reset an existing checksum @a ctx to initial state. + * @see svn_checksum_ctx_create() + * + * @since New in 1.10. + */ +svn_error_t * +svn_checksum_ctx_reset(svn_checksum_ctx_t *ctx); + +/** * Update the checksum represented by @a ctx, with @a len bytes starting at * @a data. * |
