| gchecksum.h | gchecksum.h | |||
|---|---|---|---|---|
| skipping to change at line 63 | skipping to change at line 63 | |||
| * GChecksum: | * GChecksum: | |||
| * | * | |||
| * An opaque structure representing a checksumming operation. | * An opaque structure representing a checksumming operation. | |||
| * To create a new GChecksum, use g_checksum_new(). To free | * To create a new GChecksum, use g_checksum_new(). To free | |||
| * a GChecksum, use g_checksum_free(). | * a GChecksum, use g_checksum_free(). | |||
| * | * | |||
| * Since: 2.16 | * Since: 2.16 | |||
| */ | */ | |||
| typedef struct _GChecksum GChecksum; | typedef struct _GChecksum GChecksum; | |||
| gssize g_checksum_type_get_length (GChecksumType checksum_ty pe); | gssize g_checksum_type_get_length (GChecksumType check sum_type); | |||
| GChecksum * g_checksum_new (GChecksumType checksum_typ | GChecksum * g_checksum_new (GChecksumType check | |||
| e); | sum_type); | |||
| void g_checksum_reset (GChecksum *checksum); | void g_checksum_reset (GChecksum *check | |||
| GChecksum * g_checksum_copy (const GChecksum *checksum); | sum); | |||
| void g_checksum_free (GChecksum *checksum); | GChecksum * g_checksum_copy (const GChecksum *check | |||
| void g_checksum_update (GChecksum *checksum, | sum); | |||
| const guchar *data, | void g_checksum_free (GChecksum *check | |||
| gssize length); | sum); | |||
| G_CONST_RETURN gchar *g_checksum_get_string (GChecksum *checksum); | void g_checksum_update (GChecksum *check | |||
| void g_checksum_get_digest (GChecksum *checksum, | sum, | |||
| guint8 *buffer, | const guchar *data, | |||
| gsize *digest_len); | gssize lengt | |||
| h); | ||||
| G_CONST_RETURN gchar *g_checksum_get_string (GChecksum *check | ||||
| sum); | ||||
| void g_checksum_get_digest (GChecksum *check | ||||
| sum, | ||||
| guint8 *buffe | ||||
| r, | ||||
| gsize *diges | ||||
| t_len); | ||||
| gchar *g_compute_checksum_for_data (GChecksumType checksum_type, | gchar *g_compute_checksum_for_data (GChecksumType check | |||
| const guchar *data, | sum_type, | |||
| gsize length); | const guchar *data, | |||
| gchar *g_compute_checksum_for_string (GChecksumType checksum_type, | gsize lengt | |||
| const gchar *str, | h); | |||
| gssize length); | gchar *g_compute_checksum_for_string (GChecksumType check | |||
| sum_type, | ||||
| const gchar *str, | ||||
| gssize lengt | ||||
| h); | ||||
| G_END_DECLS | G_END_DECLS | |||
| #endif /* __G_CHECKSUM_H__ */ | #endif /* __G_CHECKSUM_H__ */ | |||
| End of changes. 3 change blocks. | ||||
| 19 lines changed or deleted | 32 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||