diff options
-rw-r--r-- | anteraja.c | 2 | ||||
-rw-r--r-- | pikul.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ void anteraja_init(char *provisions[], struct shipping *shipping) shipping->headers = curl_slist_append(shipping->headers, "Content-Type:application/json"); } -void anteraja_services_request(const char *origin, const char *destination, double weight, +void anteraja_services(const char *origin, const char *destination, double weight, struct shipping *shipping, char **url, char **post) { static const char *path = "serviceRates"; @@ -9,7 +9,7 @@ extern inline void headers(struct shipping *shipping, const char *fields[], char extern inline void handle(const char *, size_t, struct container *); extern void anteraja_init(char *[], struct shipping *); -extern void anteraja_services_request(const char *, const char *, double, +extern void anteraja_services(const char *, const char *, double, struct shipping *, char **, char **); extern size_t anteraja_services_handle(const char *, size_t, size_t, struct pikul_services **); @@ -51,7 +51,7 @@ struct pikul_services *pikul_services(const char *origin, const char *destinatio size_t (*handler)(const char *, size_t, size_t, struct pikul_services **); switch (shipping.company) { case PIKUL_COMPANY_ANTERAJA: - anteraja_services_request(origin, destination, weight, &shipping, &url, &post); + anteraja_services(origin, destination, weight, &shipping, &url, &post); handler = anteraja_services_handle; break; default: |