Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
simplify gpst_xml_or_error handling and config parsing
* replace GPST-specific xmlnode_get_text() with global xmlnode_get_val(), and make it free existing values (simplifies config loading) * don't deal with numeric error codes in gpst_xml_or_error, only parsing * make gpst_xml_or_error take 2 calbacks: one for XML, one for challenge (whether in XML or JavaScript form) * allow callbacks to take cb_data * use all this to simplify form handling Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information
Showing
4 changed files
with
165 additions
and
157 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.