]> git.decadent.org.uk Git - odhcp6c.git/blobdiff - src/odhcp6c.h
Update license headers
[odhcp6c.git] / src / odhcp6c.h
index 440381a56f1f37e04cedd4b9b48433c65bfe6f2b..16a26fec2fa2c06e626655d78047171ff4a23bb5 100644 (file)
@@ -1,5 +1,5 @@
 /**
- * Copyright (C) 2012 Steven Barth <steven@midlink.org>
+ * Copyright (C) 2012-2013 Steven Barth <steven@midlink.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License v2 as published by
@@ -164,6 +164,7 @@ enum odhcp6c_state {
        STATE_SIP_FQDN,
        STATE_RA_ROUTE,
        STATE_RA_PREFIX,
+       STATE_RA_DNS,
        _STATE_MAX
 };
 
@@ -224,7 +225,7 @@ 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, const struct odhcp6c_entry *new);
-void odhcp6c_update_entry_safe(enum odhcp6c_state state, const struct odhcp6c_entry *new, uint32_t safe);
+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);
 
 void odhcp6c_expire(void);