xreq: export a function to get req
[src/app-framework-binder.git] / include / afb / afb-req.h
index af33108..1533985 100644 (file)
 
 #pragma once
 
-#include "afb-request-itf.h"
-
+#include "afb-req-itf.h"
 #include "afb-event.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' */
-};
-
 /*
  * Converts the 'req' to an afb_request.
  */