diff options
author | 2017-01-03 17:52:19 +0100 | |
---|---|---|
committer | 2017-01-03 18:23:22 +0100 | |
commit | a758d774aa5dacc07d2840f1b7ccef793863389f (patch) | |
tree | d98b01b793475c265e8365c2eabfdcd35e6cf089 /src/afb-context.h | |
parent | 91f3e6ecdada77d57c8d92a955776fd8fe6d402e (diff) |
Improves naming of session's module
Make names looking like other names
Change-Id: I63ce3d8a3d84193eca9d517cecb1888d630a9b2d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-context.h')
-rw-r--r-- | src/afb-context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/afb-context.h b/src/afb-context.h index 35709e20..d65e6ffa 100644 --- a/src/afb-context.h +++ b/src/afb-context.h @@ -17,11 +17,11 @@ #pragma once -struct AFB_clientCtx; +struct afb_session; struct afb_context { - struct AFB_clientCtx *session; + struct afb_session *session; union { unsigned flags; struct { @@ -41,7 +41,7 @@ struct afb_context int api_index; }; -extern void afb_context_init(struct afb_context *context, struct AFB_clientCtx *session, const char *token); +extern void afb_context_init(struct afb_context *context, struct afb_session *session, const char *token); extern int afb_context_connect(struct afb_context *context, const char *uuid, const char *token); extern void afb_context_disconnect(struct afb_context *context); extern const char *afb_context_sent_token(struct afb_context *context); |