From 4324b842fe57554e44b7535270042d9b2f4a0001 Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Sun, 28 Jan 2024 20:58:06 +0000 Subject: [PATCH] remove unused xs_formdata.h file --- xs_formdata.h | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 xs_formdata.h diff --git a/xs_formdata.h b/xs_formdata.h deleted file mode 100644 index 213bd3e..0000000 --- a/xs_formdata.h +++ /dev/null @@ -1,27 +0,0 @@ -/* copyright (c) 2022 - 2024 grunfink et al. / MIT license */ -#include "xs.h" - -#ifndef _XS_FORMDATA_H - -#define _XS_FORMDATA_H - -xs_val *xs_formdata_loads(const xs_str *formdata); - -#ifdef XS_IMPLEMENTATION - -/** IMPLEMENTATION **/ - -xs_val *xs_formdata_loads(const xs_str *formdata) -/* loads a string in formdata format and converts to a multiple data */ -{ - xs_val *v = NULL; - xs_list *args = xs_split(formdata, "&"); - int i = 0; - while (){} - printf("args: %s\r\n", args); fflush(stdout); - printf("data: %s\r\n", formdata); fflush(stdout); -} - -#endif /* XS_IMPLEMENTATION */ - -#endif /* _XS_FORMDATA_H */