Move dmap_add_field() to DMAP common code

This commit is contained in:
Julien BLACHE
2011-04-02 14:46:51 +02:00
parent 39542aee27
commit 07df6bb4aa
3 changed files with 142 additions and 138 deletions

View File

@@ -71,6 +71,10 @@ dmap_add_literal(struct evbuffer *evbuf, char *tag, char *str, int len);
void
dmap_add_string(struct evbuffer *evbuf, char *tag, const char *str);
void
dmap_add_field(struct evbuffer *evbuf, const struct dmap_field *df, char *strval, int32_t intval);
void
dmap_send_error(struct evhttp_request *req, char *container, char *errmsg);