diff options
author | default <nobody@localhost> | 2023-02-02 03:49:38 +0100 |
---|---|---|
committer | default <nobody@localhost> | 2023-02-02 03:49:38 +0100 |
commit | 463439283a3f346a8869df6d17a70f20a0a02419 (patch) | |
tree | 8c9ec3c9c2552a8dab6ee55bceca9f5951ae8788 /http.c | |
parent | ec07b0c59d0313faedd147d08a65ade0feaf88b9 (diff) |
Minor header tweaks.
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -11,19 +11,19 @@ #include "snac.h" -d_char *http_signed_request(snac *snac, char *method, char *url, - d_char *headers, - d_char *body, int b_size, - int *status, d_char **payload, int *p_size, +xs_dict *http_signed_request(snac *snac, const char *method, const char *url, + xs_dict *headers, + const char *body, int b_size, + int *status, xs_str **payload, int *p_size, int timeout) /* does a signed HTTP request */ { - xs *l1; - xs *date; - xs *digest; - xs *s64; - xs *signature; - xs *hdrs; + xs *l1 = NULL; + xs *date = NULL; + xs *digest = NULL; + xs *s64 = NULL; + xs *signature = NULL; + xs *hdrs = NULL; char *host; char *target; char *seckey; |