summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
766876e)
Change-Id: I138d70698342cc2350d4f9098bcf5c486d16faba
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
return afb_context_get_loa(context) >= loa;
}
return afb_context_get_loa(context) >= loa;
}
-static inline void *loa_key(struct afb_context *context)
+static inline const void *loa_key(struct afb_context *context)
- return (void*)(1+(intptr_t)(context->api_key));
+ return (const void*)(1+(intptr_t)(context->api_key));
}
static inline void *loa2ptr(unsigned loa)
}
static inline void *loa2ptr(unsigned loa)
struct afb_context
{
struct afb_session *session;
struct afb_context
{
struct afb_session *session;
struct afb_context *super;
union {
unsigned flags;
struct afb_context *super;
union {
unsigned flags;