summaryrefslogtreecommitdiff
path: root/shared-module/network/__init__.h
diff options
context:
space:
mode:
authorNick Moore <nick@zoic.org>2018-10-09 13:12:04 +1100
committerNick Moore <nick@zoic.org>2018-10-09 13:12:04 +1100
commit9b36d33df142d4a3dd2c238799e227c05b537d95 (patch)
tree0932ce151a55eb9f6966c2883582a7870c3b9a9c /shared-module/network/__init__.h
parent6e624b9c6a51e8b88eb22e62427c8e489f36072d (diff)
move random mac address function into network module
Diffstat (limited to 'shared-module/network/__init__.h')
-rw-r--r--shared-module/network/__init__.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/shared-module/network/__init__.h b/shared-module/network/__init__.h
new file mode 100644
index 000000000..13f800fb0
--- /dev/null
+++ b/shared-module/network/__init__.h
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the MicroPython project, http://micropython.org/
+ *
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2018 Nick Moore
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ */
+
+void network_module_create_random_mac_address(uint8_t *mac);
+