Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
committerAurelien Foret <aurelien@archlinux.org>2006-02-17 22:35:26 +0000
commitbe39f49a5461d5804e4391266dfea6dd076691f4 (patch)
tree911a7f550895d9fdda7b4846d6775699549b2bf4 /lib/libalpm/package.h
parent5e4c3661c6066623bbfa34bacccfafda5be21315 (diff)
prepend library function names with _alpm (helped with the patch from VMiklos <vmiklos@frugalware.org>)
added log and event callbacks to sync_commit internal transactions
Diffstat (limited to 'lib/libalpm/package.h')
-rw-r--r--lib/libalpm/package.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libalpm/package.h b/lib/libalpm/package.h
index 155a2f6c..c22cfe59 100644
--- a/lib/libalpm/package.h
+++ b/lib/libalpm/package.h
@@ -70,7 +70,7 @@ typedef struct __pmpkg_t {
#define FREEPKG(p) \
do { \
if(p) { \
- pkg_free(p); \
+ _alpm_pkg_free(p); \
p = NULL; \
} \
} while(0)
@@ -86,12 +86,12 @@ do { \
} \
} while(0)
-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_load(char *pkgfile);
-pmpkg_t *pkg_isin(char *needle, PMList *haystack);
-int pkg_splitname(char *target, char *name, char *version);
+pmpkg_t* _alpm_pkg_new(const char *name, const char *version);
+pmpkg_t *_alpm_pkg_dup(pmpkg_t *pkg);
+void _alpm_pkg_free(pmpkg_t *pkg);
+pmpkg_t *_alpm_pkg_load(char *pkgfile);
+pmpkg_t *_alpm_pkg_isin(char *needle, PMList *haystack);
+int _alpm_pkg_splitname(char *target, char *name, char *version);
#endif /* _ALPM_PACKAGE_H */