Update date of copyright notices
[src/app-framework-binder.git] / include / afb / afb-req-itf.h
index bf044f1..2dd42d2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * 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' */
+};