summaryrefslogtreecommitdiff
path: root/cesar/cl/stub/src/cl_mactotei.c
diff options
context:
space:
mode:
authorlaranjeiro2008-10-31 13:15:41 +0000
committerlaranjeiro2008-10-31 13:15:41 +0000
commitc7066152fbaac19efc3e0092074bab080a0575a9 (patch)
tree0f87fecbd968dfa5c7994eeaa3d000c5623b7eef /cesar/cl/stub/src/cl_mactotei.c
parent9cbe58fba34622de76a76be3b35a754aa8ba38df (diff)
cl: Added stub.
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@3419 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/cl/stub/src/cl_mactotei.c')
-rw-r--r--cesar/cl/stub/src/cl_mactotei.c74
1 files changed, 74 insertions, 0 deletions
diff --git a/cesar/cl/stub/src/cl_mactotei.c b/cesar/cl/stub/src/cl_mactotei.c
new file mode 100644
index 0000000000..83834b6c3d
--- /dev/null
+++ b/cesar/cl/stub/src/cl_mactotei.c
@@ -0,0 +1,74 @@
+/* Cesar project {{{
+ *
+ * Copyright (C) 2008 Spidcom
+ *
+ * <<<Licence>>>
+ *
+ * }}} */
+/**
+ * \file src/cl_mactotei.c
+ * \brief « brief description »
+ * \ingroup « module »
+ *
+ * « long description »
+ */
+#include "common/std.h"
+
+#include "cl/cl_mactotei.h"
+
+cl_mactotei_blk_t *
+cl_mactotei_new (void) __attribute__((weak));
+
+void cl_mactotei_addr_add (cl_mactotei_blk_t *table, mac_t mac_addr,
+ uint tei, uint tag) __attribute__((weak));
+
+
+void
+cl_mactotei_copy_tag (cl_t *ctx,
+ cl_mactotei_blk_t *table, u8 tag) __attribute__((weak));
+
+
+void
+cl_mactotei_copy_tei_and_tag (cl_t *ctx,
+ cl_mactotei_blk_t *table, u8 tei, u8 tag) __attribute__((weak));
+
+
+uint
+cl_mactotei_table_find_tei_from_mac (cl_t *ctx, mac_t mac) __attribute__((weak));
+
+void
+cl_mactotei_use_table (cl_t *ctx, cl_mactotei_blk_t *table) __attribute__((weak));
+
+void cl_mactotei_release_table (cl_t *ctx) __attribute__((weak));
+
+cl_mactotei_blk_t *
+cl_mactotei_new (void)
+{
+ return NULL;
+}
+
+void cl_mactotei_addr_add (cl_mactotei_blk_t *table, mac_t mac_addr,
+ uint tei, uint tag) {}
+
+
+void
+cl_mactotei_copy_tag (cl_t *ctx,
+ cl_mactotei_blk_t *table, u8 tag) {}
+
+
+void
+cl_mactotei_copy_tei_and_tag (cl_t *ctx,
+ cl_mactotei_blk_t *table, u8 tei, u8 tag) {}
+
+
+uint
+cl_mactotei_table_find_tei_from_mac (cl_t *ctx, mac_t mac)
+{
+ return MAC_TEI_FOREIGN;
+}
+
+void
+cl_mactotei_use_table (cl_t *ctx, cl_mactotei_blk_t *table) {}
+
+void cl_mactotei_release_table (cl_t *ctx) {}
+