summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/db.h
AgeCommit message (Collapse)AuthorFilesLines
2007-01-24This mainly deals with code clarity- removing currently unneededAaron Griffin1-9/+11
optimizations in order to make the code much more readable and type-checkable. Every enum in the library now has it's own type that should be used instead of the generic 'unsigned char'. In addition, several #define statements dealing with constants were converted to enums. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
2007-01-19Preliminary checkin for alpm_list conversionAaron Griffin1-4/+4
* renamed pmlist_t -> alpm_list_t * made alpm_list_t a public type (alpm_list.h header) * removed additional storage for registered DBs in pacman source * some code cleanup * removed duplicate (pm)list_display functions from pacman source * misc code cleanup
2006-12-22Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel ↵Aaron Griffin1-2/+4
<juergen@hoetzel.info> * configure swig check * misc libalpm cleanup
2006-11-20* repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin1-14/+9
(no PKGBUILD) * libalpm api changes - move from a _getinfo(p, WHAT_WE_WANT) scheme to a typesafe _get_what_we_want(p) scheme [not 100% complete yet] * some const correctness changes * removal of PM_* types in alpm.h in favor of the pm*_t types used throughout libalpm
2006-10-25Moved downloaded db unpacking to the backend files, to easier allow conversionAaron Griffin1-0/+2
from db to whatever format we need.
2006-10-20A handful of minor changes:Aaron Griffin1-4/+6
* Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter
2006-10-15Merged frugalware changes (too many to list). Also added some config fileAaron Griffin1-4/+9
handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
2006-03-08all _alpm_XXX_cmp functions are now publicAurelien Foret1-0/+1
2006-03-07code cleanupAurelien Foret1-1/+0
2006-03-02reworked the db object to prepare future integration with different backendsAurelien Foret1-7/+8
2006-02-22improved _alpm_list_free handlingAurelien Foret1-1/+1
2006-02-17prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret1-7/+7
VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
2006-02-16- db_write: add support to write both local and sync entriesAurelien Foret1-2/+1
- code cleanup
2006-02-15- merged db_open and db_create into one single functionAurelien Foret1-7/+3
- moved the .lastupdate support to the frontend
2006-01-02patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet1-1/+1
2005-04-03- added 'lastupdate' field to pmdb_tAurelien Foret1-0/+2
- added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct
2005-03-23- removed db_find_conflicts() declaration from db.hAurelien Foret1-2/+0
- included conflict.h from add.c
2005-03-22- added db_setlastupdate to db.cAurelien Foret1-2/+2
- moved db_update from db.c to alpm.c
2005-03-20Added support for .lastupdate files (from pacman 2.9.1)Aurelien Foret1-1/+3
2005-03-16Added DB_TREENAME_LEN define to avoid hardcoded length for database stringAurelien Foret1-1/+3
2005-03-16Fixed a typoAurelien Foret1-1/+1
2005-03-16Added a db_update() function to manage sync databases updates.Aurelien Foret1-0/+1
The API provides a wrapper alpm_db_update().
2005-03-15Initial revisionJudd Vinet1-0/+60