diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2021-05-31 06:11:22 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2021-05-31 06:11:22 -0700 |
commit | 18bde7391efb9c6bd6ea7846891ab5d16276a809 (patch) | |
tree | 237cc152edbdf934ed32e4c8c54c5ce97535e57f /json_curl.h | |
download | stonks-18bde7391efb9c6bd6ea7846891ab5d16276a809.tar.gz stonks-18bde7391efb9c6bd6ea7846891ab5d16276a809.tar.xz |
A bit messy and missing error handling in some places.
Diffstat (limited to 'json_curl.h')
-rw-r--r-- | json_curl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/json_curl.h b/json_curl.h new file mode 100644 index 0000000..ad03f85 --- /dev/null +++ b/json_curl.h @@ -0,0 +1,9 @@ +#ifndef JSON_CURL_H +#define JSON_CURL_H + +#include <curl/curl.h> +#include <json-c/json.h> + +json_object *json_curl_perform(CURL *curl, const char *uri); + +#endif |