diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2008-08-26 12:57:08 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-01-12 23:59:30 -0600 |
commit | 4da70d800a25881f525498a451ae21b398a1d5b1 (patch) | |
tree | 6c3446c1ec32e5f8a8acd28d1b0b6bb82684eef7 /lib/libalpm/alpm.h | |
parent | a888f377a5c805f1da24b556e6a4a9e3678d8eb3 (diff) | |
download | pacman-4da70d800a25881f525498a451ae21b398a1d5b1.tar.xz |
Rename alpm_get_md5sum to alpm_compute_md5sum and alpm_dep_get_string to alpm_dep_compute_string
This patch introduces the following function name convention:
_compute_ in function name: the return value must be freed.
_get_ in function name: the return value must not be freed.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm.h')
-rw-r--r-- | lib/libalpm/alpm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index ecce02f9..7b7ca4e7 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -435,7 +435,7 @@ const char *alpm_conflict_get_package2(pmconflict_t *conflict); pmdepmod_t alpm_dep_get_mod(const pmdepend_t *dep); const char *alpm_dep_get_name(const pmdepend_t *dep); const char *alpm_dep_get_version(const pmdepend_t *dep); -char *alpm_dep_get_string(const pmdepend_t *dep); +char *alpm_dep_compute_string(const pmdepend_t *dep); /* * File conflicts @@ -456,7 +456,7 @@ const char *alpm_fileconflict_get_ctarget(pmfileconflict_t *conflict); */ /* checksums */ -char *alpm_get_md5sum(const char *name); +char *alpm_compute_md5sum(const char *name); /* * Errors |