return respond_404(connection);
ret = parse_url_info(url + 5, &info);
- if ((ret & URL_INFO_AUTHOR) == 0)
+ if ((ret & URL_INFO_NAME) == 0)
return respond_404(connection);
- if (!blerg_exists(info.author))
+ if (!blerg_exists(info.name))
return respond_404(connection);
*ptr == NULL;
- struct blerg *b = blerg_open(info.author);
+ struct blerg *b = blerg_open(info.name);
if ((ret & URL_INFO_RECORD) && (ret & URL_INFO_RECORD_TO)) {
response = create_response_for_range(b, info.record, info.record_to);
return respond_404(connection);
ret = parse_url_info(url + 5, &info);
- if ((ret & URL_INFO_AUTHOR) == 0)
+ if ((ret & URL_INFO_NAME) == 0)
return respond_404(connection);
- if (!tag_exists(info.author))
+ if (!tag_exists(info.name))
return respond_404(connection);
int recs = 50;
- struct tag *taglist = tag_list(info.author, 0, &recs, -1);
+ struct tag *taglist = tag_list(info.name, 0, &recs, -1);
if (recs == 0) {
response = MHD_create_response_from_data(2, "[]", MHD_NO, MHD_NO);
return respond_404(connection);
ret = parse_url_info(url + 6, &info);
- if ((ret & URL_INFO_AUTHOR) == 0)
+ if ((ret & URL_INFO_NAME) == 0)
return respond_404(connection);
- if (!blerg_exists(info.author))
+ if (!blerg_exists(info.name))
return respond_404(connection);
*ptr == NULL;
- struct blerg *b = blerg_open(info.author);
+ struct blerg *b = blerg_open(info.name);
uint64_t record_count = blerg_get_record_count(b);
blerg_close(b);