Add g_checksum_type_get_length, and change g_checksum_get_digest to use a

2007-12-19  Christian Persch  <chpe@gnome.org>

	* glib/gchecksum.c: (g_checksum_type_get_length),
	(g_checksum_get_digest):
	* glib/gchecksum.h:
	* glib/glib.symbols:
	* tests/checksum-test.c: (test_checksum): Add
	g_checksum_type_get_length, and change g_checksum_get_digest to use a
	provided buffer instead of returning allocated memory. Bug #501853.

svn path=/trunk/; revision=6162
This commit is contained in:
Christian Persch
2007-12-19 18:53:27 +00:00
committed by Christian Persch
parent a979c0d5a2
commit 1ea515d019
6 changed files with 66 additions and 52 deletions

View File

@@ -173,6 +173,7 @@ g_cache_value_foreach
#if IN_HEADER(__G_CHECKSUM_H__)
#if IN_FILE(__G_CHECKSUM_C__)
g_checksum_type_get_length
g_checksum_new
g_checksum_copy
g_checksum_free