/*
* Copyright (C) 2008 Stig Venaas <venaas@uninett.no>
+ * Copyright (C) 2010 NORDUnet A/S
*
* 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.
*/
+#ifdef SYS_SOLARIS9
+#include <sys/inttypes.h>
+#else
#include <stdint.h>
+#endif
#include "list.h"
#include "tlv11.h"
#include <stdlib.h>
return s;
}
-uint8_t *tlv2buf(uint8_t *p, struct tlv *tlv) {
+uint8_t *tlv2buf(uint8_t *p, const struct tlv *tlv) {
*p++ = tlv->t;
*p++ = tlv->l;
if (tlv->l) {
}
return p;
}
+
+/* Local Variables: */
+/* c-file-style: "stroustrup" */
+/* End: */