summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-01-09 20:16:00 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-01-09 20:16:00 +0000
commitfd6ce1f4cb8011756f7c07d28c5e06ce0be1acb7 (patch)
tree1e735f251fdfb3413085862bf77f851ec0ce3eb0 /lib/libalpm/package.h
parent45a7e57f6c4c375d6b8716e2dfc15da592ec147b (diff)
downloadpacman-fd6ce1f4cb8011756f7c07d28c5e06ce0be1acb7.tar.xz
- merged pkg_new and pkg_dummy functions
- renamed _alpm_log_action to _alpm_logaction
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index c96e667a..7bc5418a 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -86,10 +86,9 @@ do { \
} \
} while(0)
-pmpkg_t* pkg_new(void);
+pmpkg_t* pkg_new(const char *name, const char *version);
pmpkg_t *pkg_dup(pmpkg_t *pkg);
void pkg_free(pmpkg_t *pkg);
-pmpkg_t* pkg_dummy(const char *name, const char *version);
pmpkg_t *pkg_load(char *pkgfile);
int pkg_isin(pmpkg_t *needle, PMList *haystack);
int pkg_splitname(char *target, char *name, char *version);