summaryrefslogtreecommitdiff
path: root/client.c
AgeCommit message (Collapse)Author
2021-06-14Strap results handlerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-13Fix the way libcurl has been usedꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-13Move icclient/client.h to icclient.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-13Merge catalog and product to clientꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-13Remove non default handlerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-12Further simplify icclient_results functionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-12Move all libcurl related stuff to requestꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-10Anticipate asynchronous data fetchꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-10The client now takes an "on success" callback argumentꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2021-06-09Add support for Emscriptenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2020-07-11Revert prodgroup to prod_groupꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-07-11Move order function to ord namespaceꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-07-11Move newaccount, login, logout to member namespaceꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-07-11Rename icclient_user to icclient_memberꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-29Remove unnecessary cURL handler parameter variablesꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-29Reorder flypage parametersꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-29Reorder results parametersꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-29Reorder the order function parametersꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-28Order init functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-28Key product initꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-20Move catalog freeing implementation to catalog's own implementationꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-20Move product freeing implementation to product's own implementationꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-20prodgroup gets freed tooꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-19Add parentheses to remove warningꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-19Results page implementationꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-19Add thumb member to productꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-14Flypage functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2020-06-10Add author member to product structꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-12-29Add parameters for handler and user pointersꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
to login related functions. These are the cURL write function and data respectively.
2019-11-04Test the bsearch result firstꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
and only get content when pointer isn't NULL
2019-11-04As soon as an order is created, there will be an itemꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-11-04Same item doesn't add to nitemsꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-24Increase nitems on every orderꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-24Initialise key_productꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
otherwise other members might be freed because they might not necessary be NULLs.
2019-10-22Correct bsearch usageꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-22Turn on verbose again when debuggingꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-22Use the product free-er function to free search keyꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-22Corrected qsort and bsearch usagesꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-07Simplify order function memory allocationsꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-06Let the library user do the mallocꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-06Order functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-05Separate the product structure definitionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
so the catalog structure doesn't have to be included when not needed. product.c has too few implementations, so it's merged to client.c
2019-10-05Generic page functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-10-04Rename callback to handlerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-29Swap allproducts parametersꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-28Catalog memory is allocated hereꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-28Arguments were put wronglyꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-27Pass the data and function pointers in allproductsꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-27Move All-Products function to client codeꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-27newaccount functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀