unsigned int response_status;
};
-void oauth2_request_set_headers(struct oauth2_request *req,
- const struct oauth2_request_input *input);
-
void oauth2_request_parse_json(struct oauth2_request *req);
int oauth2_json_tree_build(const buffer_t *json, struct json_tree **tree_r,
const char **error_r);
oauth2_request_parse_json(req);
}
-void oauth2_request_set_headers(struct oauth2_request *req,
- const struct oauth2_request_input *input)
+static void
+oauth2_request_set_headers(struct oauth2_request *req,
+ const struct oauth2_request_input *input)
{
if (!req->set->send_auth_headers)
return;