X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Frbl.h;h=dc9a03d287337d8928b97d2b15fb74de3e8d6337;hb=3ecf64721aea62f951481e8d39386347ced81db6;hp=e87025e86c8b4a068795d36ae6fcf15bee6482dd;hpb=8977d252fc44ae953df4bde4a2f1c5895beea4e0;p=apps%2Fpfixtools.git diff --git a/postlicyd/rbl.h b/postlicyd/rbl.h index e87025e..dc9a03d 100644 --- a/postlicyd/rbl.h +++ b/postlicyd/rbl.h @@ -31,6 +31,7 @@ /* * Copyright © 2007 Pierre Habouzit + * Copyright © 2008 Florent Bruneau */ #ifndef PFIXTOOLS_RBL_H @@ -41,7 +42,7 @@ typedef struct rbldb_t rbldb_t; rbldb_t *rbldb_create(const char *file, bool lock); void rbldb_delete(rbldb_t **); -uint32_t rbldb_stats(rbldb_t *rbl); -bool rbldb_ipv4_lookup(rbldb_t *rbl, uint32_t ip); +uint32_t rbldb_stats(const rbldb_t *rbl); +bool rbldb_ipv4_lookup(const rbldb_t *rbl, uint32_t ip); #endif