aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-06-29Include stdlib.h in utils.hAlessandro Iezzi
2023-05-17Divide in two functions the clist_addAlessandro Iezzi
In some cases, I need to retrieve the original pointer in list_item. So, the clist_add() just adds the pointer to the list, and, clist_add_s() adds a copy of that pointer to the list.
2023-05-10Add data size when adding new items to the listAlessandro Iezzi
When adding new data to the list, we need exactly how long is the data. So, it's programer responsibility to calculate the exact size of data to store.
2023-05-10Ehnance building systemAlessandro Iezzi
Is the same as liblog.
2023-05-10Change include from list.h to utils.hAlessandro Iezzi
2023-05-10Rename function to get library versionAlessandro Iezzi
2023-05-10Remove version.hAlessandro Iezzi
2023-05-10Change the name of define in utils.hAlessandro Iezzi
2023-05-10Rename list.h to utils.hAlessandro Iezzi
2023-05-10Change license from LGPLv3 to BSD-3Alessandro Iezzi
2023-03-14Generify the function to get the versionAlessandro Iezzi
2023-03-13Change data return in clist_iterator_nextAlessandro Iezzi
We want only data and not the node structure.
2023-03-13Change the sign of clist_iterator_has_nextAlessandro Iezzi
We don't need the pointer passed as argument.
2023-03-13Remove size_of from clist_addAlessandro Iezzi
We don't need the size of data, just calculate it from the pointer passed by.
2023-03-13Change the logic to add_all collectionAlessandro Iezzi
We call clist_add inside the loop instead to play with pointers 'cause the data will be copied instead of referenced. So if the programmer clear the second list, the data will be stay there.
2023-03-13Format function signsAlessandro Iezzi
Every function must be declared like this: <type> <sign>(<arguments>) So you can use `grep -r '^<func>'` to find the declaration.
2023-03-07Change license from AGPL v3 to LGPL v3Alessandro Iezzi
2022-11-30Add versionv0.0.0Alessandro Iezzi
2022-11-30Rename iterator_next() to clist_iterator_next()Alessandro Iezzi
2022-11-30Rename iterator_has_next() to clist_iterator_has_next()Alessandro Iezzi
2022-11-30Add test folderAlessandro Iezzi
2022-11-30Move list.hAlessandro Iezzi
2022-11-30Move list.cAlessandro Iezzi
2020-01-10refactoring code with correct naming conventionAlessandro
2020-01-09testing last two methods addedaindros
2020-01-09added List_AddAll and List_Removeaindros
2020-01-09added a cast in printfaindros
2020-01-09first version, missing some methodsaindros
2020-01-08srcaindros