aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/afb-binding-writing.md3
-rw-r--r--include/afb/afb-auth.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/afb-binding-writing.md b/docs/afb-binding-writing.md
index d7dccd1a..ceb80a87 100644
--- a/docs/afb-binding-writing.md
+++ b/docs/afb-binding-writing.md
@@ -61,6 +61,7 @@ A ***binder*** loads and runs any of these version in any combination.
This document explain how to write bindings version 2.
<!-- pagebreak -->
+
Sample binding: tuto-1
======================
@@ -254,8 +255,10 @@ Here again, you can explicitly mark the fact that
```
<!-- pagebreak -->
+
Sample binding: tuto-2
======================
+
The second tutorial shows many important feature that can
commonly be used when writing a ***binding***: initialization,
getting arguments, sending replies, pushing events.
diff --git a/include/afb/afb-auth.h b/include/afb/afb-auth.h
index ee089e7f..9ef58208 100644
--- a/include/afb/afb-auth.h
+++ b/include/afb/afb-auth.h
@@ -34,10 +34,10 @@ enum afb_auth_type
struct afb_auth
{
- const enum afb_auth_type type;
+ enum afb_auth_type type;
union {
const char *text;
- const unsigned loa;
+ unsigned loa;
const struct afb_auth *first;
};
const struct afb_auth *next;