From fbe18b35e0f09d4bafc14e18b92358dd601e0fb9 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Mon, 15 Feb 2016 12:17:18 +0100 Subject: include: Initial DIF allocator header file This adds the initial API to communicate with the DIF allocator. --- include/ouroboros/da.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/ouroboros/da.h 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 + * + * 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 -- cgit v1.2.3