checked_free(data);
}
-static void ApiGetScoreExt(struct HttpRequest *request,
- struct HttpResponse *response,
- void *data_raw)
+static void ApiGetScore_HttpRequest(struct HttpRequest *request,
+ struct HttpResponse *response,
+ void *data_raw)
{
struct ApiGetScoreThreadData *data = data_raw;
int level_nr = data->level_nr;
struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
- ApiGetScoreExt(request, response,
- data_raw);
+ ApiGetScore_HttpRequest(request, response, data_raw);
FreeThreadData_ApiGetScore(data_raw);
checked_free(data);
}
-static void ApiAddScoreExt(struct HttpRequest *request,
- struct HttpResponse *response,
- void *data_raw)
+static void ApiAddScore_HttpRequest(struct HttpRequest *request,
+ struct HttpResponse *response,
+ void *data_raw)
{
struct ApiAddScoreThreadData *data = data_raw;
int level_nr = data->level_nr;
struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
- ApiAddScoreExt(request, response,
- data_raw);
+ ApiAddScore_HttpRequest(request, response, data_raw);
FreeThreadData_ApiAddScore(data_raw);
checked_free(data);
}
-static void ApiRenamePlayerExt(struct HttpRequest *request,
- struct HttpResponse *response,
- void *data_raw)
+static void ApiRenamePlayer_HttpRequest(struct HttpRequest *request,
+ struct HttpResponse *response,
+ void *data_raw)
{
struct ApiRenamePlayerThreadData *data = data_raw;
char *player_name_raw = data->player_name;
struct HttpRequest *request = checked_calloc(sizeof(struct HttpRequest));
struct HttpResponse *response = checked_calloc(sizeof(struct HttpResponse));
- ApiRenamePlayerExt(request, response, data_raw);
+ ApiRenamePlayer_HttpRequest(request, response, data_raw);
FreeThreadData_ApiRenamePlayer(data_raw);