api-v3: First draft
[src/app-framework-binder.git] / include / afb / afb-req-x1-itf.h
similarity index 70%
rename from include/afb/afb-req-itf.h
rename to include/afb/afb-req-x1-itf.h
index 2dd42d2..dce936d 100644 (file)
 
 #pragma once
 
-#include "afb-request-itf.h"
+#include "afb-req-x2-itf.h"
 
-/*
- * Describes the request by bindings from afb-daemon
+/**
+ * @deprecated use bindings version 3
+ *
+ * Describes the request to bindings version 1 and 2
  */
-struct afb_req
+struct afb_req_x1
 {
-       const struct afb_request_itf *itf;      /* the interface to use */
-       struct afb_request *closure;            /* the closure argument for functions of 'itf' */
+       const struct afb_req_x2_itf *itf;       /**< the interface to use */
+       struct afb_req_x2 *closure;             /**< the closure argument for functions of 'itf' */
 };