Renamed stbbr_for -> stbbr_for_id
This commit is contained in:
@@ -125,7 +125,7 @@ int connection_cb(void* cls, struct MHD_Connection* conn, const char* url, const
|
||||
case STBBR_OP_FOR:
|
||||
id = MHD_lookup_connection_value(conn, MHD_GET_ARGUMENT_KIND, "id");
|
||||
if (id) {
|
||||
prime_for(id, con_info->body->str);
|
||||
prime_for_id(id, con_info->body->str);
|
||||
return send_response(conn, NULL, MHD_HTTP_OK);
|
||||
} else {
|
||||
return send_response(conn, NULL, MHD_HTTP_BAD_REQUEST);
|
||||
|
||||
@@ -61,7 +61,7 @@ prime_get_passwd(void)
|
||||
}
|
||||
|
||||
void
|
||||
prime_for(const char *id, char *stream)
|
||||
prime_for_id(const char *id, char *stream)
|
||||
{
|
||||
if (idstubs) {
|
||||
g_hash_table_insert(idstubs, strdup(id), strdup(stream));
|
||||
|
||||
@@ -29,7 +29,7 @@ void prime_free_all(void);
|
||||
void prime_required_passwd(char *password);
|
||||
char* prime_get_passwd(void);
|
||||
|
||||
int prime_for(const char *id, char *stream);
|
||||
int prime_for_id(const char *id, char *stream);
|
||||
char* prime_get_for(const char *id);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user