summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-15 12:17:18 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2016-02-15 12:20:42 +0100
commitfbe18b35e0f09d4bafc14e18b92358dd601e0fb9 (patch)
treeb645ae36e00e7937d51fd30e4da36837d6b95bd8
parent2f9c9f5441fb1be1f8eb888a71ecc4258aefba61 (diff)
downloadouroboros-fbe18b35e0f09d4bafc14e18b92358dd601e0fb9.tar.gz
ouroboros-fbe18b35e0f09d4bafc14e18b92358dd601e0fb9.zip
include: Initial DIF allocator header file
This adds the initial API to communicate with the DIF allocator.
-rw-r--r--include/ouroboros/da.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/ouroboros/da.h b/include/ouroboros/da.h
new file mode 100644
index 00000000..62bc66e5
--- /dev/null
+++ b/include/ouroboros/da.h
@@ -0,0 +1,31 @@
+/*
+ * Ouroboros - Copyright (C) 2016
+ *
+ * The API to consult the DIF Allocator
+ *
+ * Sander Vrijders <sander.vrijders@intec.ugent.be>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef OUROBOROS_DA_H
+#define OUROBOROS_DA_H
+
+#include "common.h"
+
+rina_name_t da_resolve_daf(char * daf_name);
+char ** da_resolve_dap(rina_name_t * name);
+
+#endif