| Age | Commit message (Collapse) | Author |
|
Creates an default option to heap-init string view to be used by
complex operation where memory needs to be fine-grained.
|
|
Seperates cryptographic verification from pkgman_upstream_integrity_download
to its own function for better code structure, and to create space for future
cryptographic functions.
|
|
Added url structures, cookbook, archive management to automate
the installation process of packages. Refactored main logic from
main.c to pkgman.c for cleaner seperation of concerns and future
library integration of pkgman to other projects.
|
|
Linked list now implements FREE, ADD, functionalities. This
modification allows for easier use of linked list and less bugs.
The linked list functions now also have header and implementation
macros to allow for external use of linked list functions in other
translation units.
|
|
SV() no longer calls sv_create, instead initializes the struct
in-place.
|
|
Optimized and bug-prone equality operation for string_view struct.
This function will replace the equality checks operations between
char* + string_view, and string_view + string_view.
|
|
Added a string view copy function to lib/sv.h. The function is
created to make it easier to copy string_views, and it is user's
responsibility to free the string_view's.
|
|
O(n) add linked list was created with an add function. A foreach
macro is also implemented as LL_FOREACH(). This linked list is
temporary, and consists only of nodes.
|
|
|