summaryrefslogtreecommitdiffstats
path: root/libopkg/opkg.h
Commit message (Collapse)AuthorAgeFilesLines
* libopkg: cleanup inside the public header filesCarsten Schoenert2013-12-171-6/+6
| | | | | | | | | | | | No functional changes! Just a cleanup like whitespaces, blank lines, tabs and reformating lines longer 76 characters. Also adding the missed comments at the closing bracket from the #ifndef HEADER_FOO_H ... #endif loop. This helps to identify the associated preprocessor elements like theay already exits in some files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* libopkg: ensure symbol name mangling for C++Carsten Schoenert2013-12-171-0/+8
| | | | | | | | | Users who use C++ code for theirs application have always to include external C functions with a 'extern "C" { }' assignment. We can take that need from the user by putting thees assignments into the public header files. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com> Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
* add opkg_compare_versions functionpixdamix@gmail.com2012-11-221-0/+2
| | | | | | | | | * not used in opkg but can be usefull, e.g. instead of opkg-utils/opkg-compare-versions.c Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> git-svn-id: http://opkg.googlecode.com/svn/trunk@636 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Improve the opkg_{get,set}_option() C API.graham.gower@gmail.com2011-05-251-1/+1
| | | | | | This breaks compatibility with the previous API, so bump the lib version. git-svn-id: http://opkg.googlecode.com/svn/trunk@622 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Print error messages instead of returning error codes.graham.gower2009-12-101-15/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@482 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Remove struct _opkg_package_t.graham.gower2009-12-101-13/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@479 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Get rid of opkg_package_t.graham.gower2009-12-091-7/+7
| | | | | | | We can't provide all the useful info without duplicating pkg_t, so just use pkg_t. git-svn-id: http://opkg.googlecode.com/svn/trunk@473 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Merge commit 'grg' into HEADgraham.gower2009-12-081-18/+16
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@471 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* Add sha256 ckecksums to okpgticktock352009-10-271-1/+2
| | | | | | | | | | | | | | | | Thanks to Camille Moncelier <moncelier@devlife.org> http://groups.google.com/group/opkg-devel/browse_thread/thread/78a2eb328da0ef73?utoken=pV1Kli0AAADKDldt5ZXsDDLs9sWCpWZI0mClVcTs45ANzZ7C9NH-1YGBxa5Bow63PTuzFmQCb1c Here is a patch which adds sha256 checksum checking to Opkg. More Opkg patches will follow shortly (x509 and smime signature support, libcurl client/server authentication) I hope these patch will be useful and finds their ways into okpg Camille Moncelier http://devlife.org/ git-svn-id: http://opkg.googlecode.com/svn/trunk@220 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: adding repository check functionticktock352008-12-151-0/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@136 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: improve opkg_install error reporting and include a check to verify ↵ticktock352008-12-151-2/+4
| | | | | | repository signature during install git-svn-id: http://opkg.googlecode.com/svn/trunk@123 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add some error codes to libopkgticktock352008-12-151-0/+12
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@107 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add header guards to libopkg/opkg.hticktock352008-12-151-0/+6
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@101 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_find_package()ticktock352008-12-151-1/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@99 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add more attributes to opkg_package_tticktock352008-12-151-1/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@98 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add extra data to libopkg progress callbacksticktock352008-12-151-1/+15
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@97 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_list_upgradable_packages functionticktock352008-12-151-1/+2
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@95 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement package listing in new libopkgticktock352008-12-151-0/+21
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@90 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: add progress callbacks to libopkg apiticktock352008-12-151-5/+6
| | | | | | | | libopkg: fix opkg_install_package() git-svn-id: http://opkg.googlecode.com/svn/trunk@80 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* libopkg: add opkg_read_config_files() functionticktock352008-12-151-0/+1
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@77 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: implement opkg_set_option() and opkg_get_option()ticktock352008-12-151-0/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@71 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: start new libopkg api in opkg.{c,h} and remove all other header filesticktock352008-12-151-0/+26
| | | | | | | | from being copied to includes git-svn-id: http://opkg.googlecode.com/svn/trunk@70 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove opkg.h in preperation for new APIticktock352008-12-151-33/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@65 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: split out opkg.hticktock352008-12-151-34/+3
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@63 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: remove some "#if 0" codeticktock352008-12-151-4/+0
| | | | git-svn-id: http://opkg.googlecode.com/svn/trunk@59 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
* opkg: re-arrange source code into sub-directoriesticktock352008-12-141-0/+68
git-svn-id: http://opkg.googlecode.com/svn/trunk@33 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358