Merge branch '2.2' into develop

This commit is contained in:
Niclas Antti
2018-06-01 09:33:04 +03:00
9 changed files with 86 additions and 59 deletions

View File

@ -381,15 +381,6 @@ extern char *gwbuf_get_property(GWBUF *buf, const char *name);
*/
extern GWBUF *gwbuf_make_contiguous(GWBUF *buf);
/**
* Add hint to a buffer.
*
* @param buf The buffer to add the hint to
* @param hint The hint. Note that the ownership of @c hint is transferred
* to @c buf.
*/
extern void gwbuf_add_hint(GWBUF *buf, HINT *hint);
/**
* Add a buffer object to GWBUF buffer.
*

View File

@ -53,6 +53,7 @@ typedef struct hint
HINT *hint_alloc(HINT_TYPE, void *, unsigned int);
HINT *hint_create_parameter(HINT *, char *, const char *);
HINT *hint_create_route(HINT *, HINT_TYPE, const char *);
HINT *hint_splice(HINT *head, HINT *list);
void hint_free(HINT *);
HINT *hint_dup(const HINT *);
bool hint_exists(HINT **, HINT_TYPE);