pacman/lib/libalpm
Dan McGee dff2d916ba Remove indirection on get_name and get_version operations
For a package to be loaded from any of our backends, these two fields
are always required upfront. Due to this fact, we don't need them to be
backend-specific operations and can just refer to the field directly.

Additionally, our static (and thus private) cache package accessors had
a NULL check on pkg before returning the relevant field. Eliminate this
since they only way they are ever called is via the packages attached
callback struct, which would have caused the NULL pointer dereference in
the first place.

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-04-15 18:37:09 -05:00
..
po Updated 3.5.1 translations from Transifex 2011-03-23 02:12:36 -05:00
.gitignore Remove unnecessary entries from .gitignore files 2007-07-16 16:49:28 -04:00
add.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
add.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
alpm.c Merge branch 'maint' 2011-03-24 21:18:09 -05:00
alpm.h Add functions for verifying database signature 2011-03-23 22:22:33 -05:00
alpm_list.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
alpm_list.h Add new alpm_list_remove_item() function 2011-02-04 09:55:46 +10:00
backup.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
backup.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
base64.c Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
base64.h Add base64 algorithms from PolarSSL to libalpm 2011-03-23 02:22:00 -05:00
be_local.c Remove indirection on get_name and get_version operations 2011-04-15 18:37:09 -05:00
be_package.c Don't create two pmpkg_t objects in be_package 2011-04-11 15:56:34 -05:00
be_sync.c Merge branch 'maint' 2011-04-05 00:49:30 -05:00
conflict.c Unify filelist operation functions in conflict checking 2011-03-30 20:20:16 -05:00
conflict.h Conflict checking code cleanup 2011-02-16 20:57:07 -06:00
db.c Merge branch 'maint' 2011-04-05 00:49:30 -05:00
db.h Add functions for verifying database signature 2011-03-23 22:22:33 -05:00
delta.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
delta.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
deps.c Merge branch 'maint' 2011-03-27 20:41:23 -05:00
deps.h Ensure reported missing dependencies show correct version comparison 2011-03-25 15:43:08 -05:00
diskspace.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
diskspace.h diskspace: allow used flag to be toggled for both remove and install 2011-02-11 10:51:59 -06:00
dload.c dload: dont forget to initialize open_mode 2011-04-02 12:37:17 -05:00
dload.h lib/dload: pass a struct with filename and size to curl_progress 2011-03-27 20:12:17 -05:00
error.c Integrate GPGME into libalpm 2011-03-23 03:16:29 -05:00
graph.c Move graph.h functions into graph.c 2011-04-15 18:36:53 -05:00
graph.h Move graph.h functions into graph.c 2011-04-15 18:36:53 -05:00
group.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
group.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
handle.c Merge branch 'maint' 2011-03-29 12:21:07 -05:00
handle.h Add signature directory as option on libalpm handle 2011-03-23 03:16:29 -05:00
log.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
log.h Mark log callback format string const 2011-02-24 09:38:59 -06:00
Makefile.am Move graph.h functions into graph.c 2011-04-15 18:36:53 -05:00
md5.c libalpm md5: use larger and dynamic buffer 2010-09-02 10:33:21 -05:00
md5.h libalpm/md5: Fix license header 2008-06-03 21:31:31 -05:00
package.c Remove indirection on get_name and get_version operations 2011-04-15 18:37:09 -05:00
package.h Remove indirection on get_name and get_version operations 2011-04-15 18:37:09 -05:00
pkghash.c Merge branch 'maint' 2011-04-05 00:49:30 -05:00
pkghash.h alpm: remove public visibility of pmpkghash_t 2011-02-25 09:45:13 -06:00
remove.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
remove.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
signing.c Do not reuse old signature 2011-03-23 22:58:32 -05:00
signing.h Refactor signature loading code into common function 2011-03-23 22:56:54 -05:00
sync.c Added gpg verification options per repo to the config file. 2011-03-23 03:35:50 -05:00
sync.h Update copyright years for 2011 2011-01-07 18:47:37 -06:00
trans.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00
trans.h Remove trans->skip_add 2011-02-22 16:48:51 -06:00
util.c Merge branch 'maint' 2011-04-05 00:49:30 -05:00
util.h Merge branch 'maint' 2011-03-29 12:21:07 -05:00
version.c Style change: return(x) --> return x 2011-03-20 19:49:45 -05:00