diff options
author | default <nobody@localhost> | 2022-09-20 20:12:21 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-09-20 20:12:21 +0200 |
commit | 9a38cfb70f40dcfd1c2980448bf4c6f594f8db64 (patch) | |
tree | 8113d0499047a68c1d2479fafb2a6381c990c361 /http.c | |
parent | 2766fbd49cfba346dbaea1914adc4118e1176e1e (diff) |
[http.c] new file.
Diffstat (limited to 'http.c')
-rw-r--r-- | http.c | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +/* snac - A simple, minimalistic ActivityPub instance */ +/* copyright (c) 2022 grunfink - MIT license */ + +#include "xs.h" +#include "xs_io.h" +#include "xs_encdec.h" +#include "xs_openssl.h" +#include "xs_curl.h" + +#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) +/* does an HTTP request */ +{ + return xs_http_request(method, url, headers, + body, b_size, status, payload, p_size); +} |