/*
- * Copyright (C) 2016, 2017 "IoT.bzh"
+ * Copyright (C) 2016, 2017, 2018 "IoT.bzh"
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
#pragma once
-#pragma GCC warning "\n\n\
- This header file <afb/afb-req-itf.h> is OBSOLETE.\n\
- It is provided for COMPATIBILITY ONLY.\n\n\
- Please USE <afb/afb-binding.h> and ADAPT YOUR CODE to new names.\n"
+#include "afb-request-itf.h"
-#include "afb-binding.h"
+/*
+ * Describes the request by bindings from afb-daemon
+ */
+struct afb_req
+{
+ const struct afb_request_itf *itf; /* the interface to use */
+ struct afb_request *closure; /* the closure argument for functions of 'itf' */
+};