X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fquery.h;h=86e41ba1072e85e27e5509056bf8892078c3cf60;hb=aecafec904f393ee0ab902272a947d8be5bec36f;hp=87ee01e814df299be1750a6accb06616af37b5c2;hpb=1b0d47e10359293dafc8937b8036168d7ec61a6a;p=apps%2Fpfixtools.git diff --git a/postlicyd/query.h b/postlicyd/query.h index 87ee01e..86e41ba 100644 --- a/postlicyd/query.h +++ b/postlicyd/query.h @@ -94,18 +94,6 @@ typedef struct query_t { const char *eoq; } query_t; -static inline query_t *query_new(void) -{ - return p_new(query_t, 1); -} - -static inline void query_delete(query_t **query) -{ - if (*query) { - p_delete(query); - } -} - /** Parse the content of the text to fill the query. * The text pointed by \p p is segmented (and modified to add * a \0 at the end of each segment) and used to fill the query