]> rtime.felk.cvut.cz Git - frescor/fwp.git/blobdiff - fwp/lib/fwp/fwp_vres.h
Fixed const qualifiers
[frescor/fwp.git] / fwp / lib / fwp / fwp_vres.h
index 4d36ffb1b4c351ed223bfe4e4b9cbaff50a2b0fd..62561f56ea66fce1139133f716c3980960114723 100644 (file)
@@ -95,7 +95,8 @@ int fwp_vres_destroy(fwp_vres_t *vres);
 
 int fwp_vres_consume_budget(struct fwp_vres *vres, size_t size, bool can_block);
 struct fwp_endpoint;
-int fwp_vres_enqueue(struct fwp_vres *vres, struct fwp_endpoint *ep, void *msg, size_t size);
+int fwp_vres_enqueue(struct fwp_vres *vres, struct fwp_endpoint *ep,
+                    const void *msg, size_t size);
 int fwp_vres_bind(fwp_vres_t *vres, struct fwp_endpoint *ep, int sockd);
 int fwp_vres_unbind(fwp_vres_t *vres);