mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +00:00
remove unused xs_formdata.h file
This commit is contained in:
parent
a88254b0a9
commit
4324b842fe
1 changed files with 0 additions and 27 deletions
|
@ -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 */
|
|
Loading…
Reference in a new issue