Hello,
Can someone point me in a direction for correct usage of the HTTP module to
help in returning strings? Is there any documentation for this online?
I am using source code for Grub 2.02~beta2
I am attempting to return the results of an http query.
My code compiles and executes the commands without error, but I think I'm
having difficulty understanding where the pointers go during the
abstraction and what the pointers have when the top level commands finish.
Here is a sample of what I am attempting to do.
struct grub_file *gf;
err = grub_http_protocol.open(gf, httpquery);
grub_printf("DEBUG: current_line:
%s\n",((http_data_t)(gf->data))->current_line);
This code just results in a "(null)".
Any help here would be useful.
Joseph Kelly
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub