Add remaining documentation
[libcontrac.git] / include / contrac / dtk.h
index ee621e5..459fb52 100644 (file)
@@ -11,9 +11,9 @@
  * @brief Daily Tracing Key functionality
  * @section DESCRIPTION
  *
- * This class is used to generate and manage the Daily Tracing Key. It's
+ * This class is used to generate and manage the Daily Tracing Key (DTK). It's
  * largely internal. The functionality from \ref Contrac should generally be
- * used instead of these functions.
+ * used in preference to this.
  *
  */
 
@@ -56,7 +56,7 @@ Dtk * dtk_new();
 void dtk_delete(Dtk * data);
 
 bool dtk_generate_daily_key(Dtk * data, Contrac const * contrac, uint32_t day_number);
-const unsigned char * dtk_get_daily_key(Dtk const * data);
+unsigned char const * dtk_get_daily_key(Dtk const * data);
 uint32_t dtk_get_day_number(Dtk const * data);
 void dtk_assign(Dtk * data, unsigned char const * dtk_bytes, uint32_t day_number);