Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
afb-hsrv: remove dependency to systemd
[src/app-framework-binder.git]
/
include
/
afb
/
afb-req-itf.h
diff --git
a/include/afb/afb-req-itf.h
b/include/afb/afb-req-itf.h
index
bf044f1
..
2dd42d2
100644
(file)
--- a/
include/afb/afb-req-itf.h
+++ b/
include/afb/afb-req-itf.h
@@
-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");
* Author: José Bollo <jose.bollo@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
@@
-17,10
+17,14
@@
#pragma once
#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' */
+};