-/*
- * Copyright (C) 2006-2009 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) 2007-2009, UNINETT AS */
+/* See LICENSE for licensing information. */
#ifdef SYS_SOLARIS9
#include <sys/inttypes.h>
#include <stdint.h>
#endif
+#if defined (__cplusplus)
+extern "C" {
+#endif
+
struct list_node {
struct list_node *next;
void *data;
/* returns number of nodes */
uint32_t list_count(struct list *list);
+#if defined (__cplusplus)
+}
+#endif
+
/* Local Variables: */
/* c-file-style: "stroustrup" */
/* End: */