X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.h;h=61dee63ffcc9a57b5c918cc5d7e106ca289b4f97;hp=669b33d4149172b8240b3c90aedc422e92e546c2;hb=e1b11c518aded9136b4f44759c6e2a6be4161ee9;hpb=2037bd1f310239f1982f3bd2f541ba409ee16b6a diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 669b33d..61dee63 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -250,8 +250,8 @@ void* odhcp6c_get_state(enum odhcp6c_state state, size_t *len); // Entry manipulation struct odhcp6c_entry* odhcp6c_find_entry(enum odhcp6c_state state, const struct odhcp6c_entry *new); -void odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); -void odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); +bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); +bool odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); void odhcp6c_expire(void); uint32_t odhcp6c_elapsed(void);