summaryrefslogtreecommitdiff
path: root/src/ipcpd/unicast/dir/pol.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2021-12-04 19:26:50 +0100
committerSander Vrijders <sander@ouroboros.rocks>2021-12-06 17:53:52 +0100
commitbf16a163cc70733653f68b50dabfab42741d4c3f (patch)
tree09ab08b9090e2a1723affc6a85923b8627e9d16c /src/ipcpd/unicast/dir/pol.h
parent9b86e94bc3e8060298fae57bc9dd25ee70d86d54 (diff)
downloadouroboros-bf16a163cc70733653f68b50dabfab42741d4c3f.tar.gz
ouroboros-bf16a163cc70733653f68b50dabfab42741d4c3f.zip
ipcpd: Consolidate policies within folder
Each policy folder will now have a pol.h file, so that (in most cases) adding a new policy only requires changes inside the policy folder. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/dir/pol.h')
-rw-r--r--src/ipcpd/unicast/dir/pol.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ipcpd/unicast/dir/pol.h b/src/ipcpd/unicast/dir/pol.h
new file mode 100644
index 00000000..3aa2d59f
--- /dev/null
+++ b/src/ipcpd/unicast/dir/pol.h
@@ -0,0 +1,23 @@
+/*
+ * Ouroboros - Copyright (C) 2016 - 2021
+ *
+ * Directory policies
+ *
+ * Dimitri Staessens <dimitri@ouroboros.rocks>
+ * Sander Vrijders <sander@ouroboros.rocks>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., http://www.fsf.org/about/contact/.
+ */
+
+#include "dht.h"