-/*
- * Copyright (C) 2008 Stig Venaas <venaas@uninett.no>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- */
+/* Copyright (c) 2008, UNINETT AS
+ * Copyright (c) 2010, NORDUnet A/S */
+/* See LICENSE for licensing information. */
struct tlv {
uint8_t t;
void freetlvlist(struct list *);
void rmtlv(struct list *, uint8_t);
uint8_t *tlv2str(struct tlv *tlv);
-uint8_t *tlv2buf(uint8_t *, struct tlv *tlv);
+uint8_t *tlv2buf(uint8_t *, const struct tlv *tlv);
/* Local Variables: */
/* c-file-style: "stroustrup" */