yajl_gen_free(g);
}
-void respond_taglist(struct tag *results, int i) {
+void respond_blergref_list(struct blergref * results, int i) {
const unsigned char *ybuf;
unsigned int len;
struct blerg *b;
}
int recs = 50;
- struct tag *taglist = tag_list(info.name, 0, &recs, -1);
+ struct blergref *taglist = tag_list(info.name, 0, &recs, -1);
if (recs == 0) {
respond_simple_data("[]", 2);
} else {
- respond_taglist(taglist, recs);
+ respond_blergref_list(taglist, recs);
}
} else if (strncmp(path, "/put", 4) == 0) {
if (strcmp(request_method, "POST") != 0) {