1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 08:18:51 -05:00
pacman/lib/libalpm
Dan McGee a65ad4efc1 package.h: implement origin_data union in pmpkg_t struct
We were using a void *data element in pmpkg_t before, which is unsafe by its
nature of being untyped. Reimplement data as origin_data being a union that
can hold either a path to a package file or a pointer to a cache database,
and make the other necesary updates in the code to reflect this. See package.h
for details.

Signed-off-by: Dan McGee <dan@archlinux.org>
2007-08-14 10:14:35 -04:00
..
po Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
add.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
alpm_list.c libalpm/alpm_list.c : add SYMEXPORT to all alpm_list_ functions. 2007-07-20 10:28:07 -04:00
alpm_list.h Const correctness! 2007-06-05 17:34:33 -04:00
alpm.c Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
alpm.h new pmdepend_t / pmdepmissing_t accessors. 2007-07-16 09:21:13 -04:00
backup.c Const correctness! 2007-06-05 17:34:33 -04:00
backup.h Const correctness! 2007-06-05 17:34:33 -04:00
be_files.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
cache.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
cache.h Big commit this time: 2007-03-03 08:13:59 +00:00
conflict.c Code cleanup 2007-08-14 09:33:55 -04:00
conflict.h This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
db.c Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
db.h Add a alpm_db_test() function to the backend for checking DB consistency 2007-06-09 12:58:12 -04:00
deps.c libalpm/deps.c : split alpm_depcmp. 2007-07-17 10:10:27 -04:00
deps.h libalpm/deps.c : cleanup + little fix for resolvedeps. 2007-07-15 10:37:38 -04:00
error.c Remove some more diskspace checking holdover stuff 2007-06-13 00:31:01 -04:00
error.h Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
group.c Const correctness! 2007-06-05 17:34:33 -04:00
group.h Remove FREEGRP macro and correctly type _alpm_grp_free 2007-04-27 20:38:54 -04:00
handle.c Fix issue with <dbpath>/db.lck being truncated 2007-07-10 14:31:39 -04:00
handle.h Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.c Clean up the alpm handle 2007-07-09 15:23:26 -04:00
log.h Remove logmask stuff from backend; switch logging callback to new pm_printf 2007-06-09 12:57:50 -04:00
Makefile.am Remove versioncmp.{c,h}, clean up selective #ifdefs 2007-07-12 15:20:43 -04:00
md5.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
md5.h * Added missing header include guards in md5.h and sha1.h. 2007-03-06 01:21:41 +00:00
md5driver.c Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
package.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
package.h package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
provide.c This commit looks much more monumental than it is. Almost all just #include 2007-03-05 22:13:33 +00:00
provide.h * Enforce const char* params when using strings 2007-02-26 08:38:48 +00:00
remove.c Ensure requiredby entries are removed during an upgrade 2007-07-14 09:34:39 -04:00
remove.h Preliminary checkin for alpm_list conversion 2007-01-19 09:28:44 +00:00
server.c Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
server.h Const correctness! 2007-06-05 17:34:33 -04:00
sha1.c Remove gettext calls from all PM_LOG_DEBUG messages 2007-07-10 14:24:58 -04:00
sha1.h * Added missing header include guards in md5.h and sha1.h. 2007-03-06 01:21:41 +00:00
sync.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
sync.h Remove FREESYNC macro and correctly type _alpm_sync_free 2007-04-27 14:53:01 -04:00
trans.c Ensure requiredby entries are removed during an upgrade 2007-07-14 09:34:39 -04:00
trans.h Remove freespace checking code 2007-06-02 13:17:26 -04:00
util.c package.h: implement origin_data union in pmpkg_t struct 2007-08-14 10:14:35 -04:00
util.h Remove versioncmp.{c,h}, clean up selective #ifdefs 2007-07-12 15:20:43 -04:00