summaryrefslogtreecommitdiff
path: root/lib/libalpm/db.h
Commit message (Collapse)AuthorAge
* * Enforce const char* params when using stringsAaron Griffin2007-02-26
| | | | | | | * Unified some functions names "package" -> "pkg" for consistency * Removed the goofy 'faketarget' stuff used for dep testing * Renamed alpm_pkg_isin -> alpm_pkg_find * Renamed alpm_db_readpkg -> alpm_db_get_pkg
* * Fixed inconsistency of args- _alpm_db_read, _alpm_db_write.Dan McGee2007-02-21
|
* slight line spacing/indent updatesDan McGee2007-01-31
|
* This mainly deals with code clarity- removing currently unneededAaron Griffin2007-01-24
| | | | | | | | | | 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>
* Preliminary checkin for alpm_list conversionAaron Griffin2007-01-19
| | | | | | | | | * 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
* Cleanup from Dan McGee <dpmcgee@gmail.com> and Jürgen Hötzel ↵Aaron Griffin2006-12-22
| | | | | | | <juergen@hoetzel.info> * configure swig check * misc libalpm cleanup
* * repo-add script - to add entries to a db file directly from package data ↵Aaron Griffin2006-11-20
| | | | | | | | | | (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
* Moved downloaded db unpacking to the backend files, to easier allow conversionAaron Griffin2006-10-25
| | | | from db to whatever format we need.
* A handful of minor changes:Aaron Griffin2006-10-20
| | | | | | | | * 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
* Merged frugalware changes (too many to list). Also added some config fileAaron Griffin2006-10-15
| | | | | handling changes (support [sections] to carry over to included files - this helps with backwards compatibility with existing pacman config files)
* all _alpm_XXX_cmp functions are now publicAurelien Foret2006-03-08
|
* code cleanupAurelien Foret2006-03-07
|
* reworked the db object to prepare future integration with different backendsAurelien Foret2006-03-02
|
* improved _alpm_list_free handlingAurelien Foret2006-02-22
|
* prepend library function names with _alpm (helped with the patch from ↵Aurelien Foret2006-02-17
| | | | | | VMiklos <vmiklos@frugalware.org>) added log and event callbacks to sync_commit internal transactions
* - db_write: add support to write both local and sync entriesAurelien Foret2006-02-16
| | | | - code cleanup
* - merged db_open and db_create into one single functionAurelien Foret2006-02-15
| | | | - moved the .lastupdate support to the frontend
* patch from VMiklos - use PACKAGE_VERSION instead of PACMAN_VERSIONJudd Vinet2006-01-02
|
* - added 'lastupdate' field to pmdb_tAurelien Foret2005-04-02
| | | | | - added a new public function alpm_db_getinfo - added a public parameter PM_PKG_DB for PM_PKG struct
* - removed db_find_conflicts() declaration from db.hAurelien Foret2005-03-23
| | | | - included conflict.h from add.c
* - added db_setlastupdate to db.cAurelien Foret2005-03-22
| | | | - moved db_update from db.c to alpm.c
* Added support for .lastupdate files (from pacman 2.9.1)Aurelien Foret2005-03-20
|
* Added DB_TREENAME_LEN define to avoid hardcoded length for database stringAurelien Foret2005-03-16
|
* Fixed a typoAurelien Foret2005-03-16
|
* Added a db_update() function to manage sync databases updates.Aurelien Foret2005-03-16
| | | | The API provides a wrapper alpm_db_update().
* Initial revisionJudd Vinet2005-03-15