aboutsummaryrefslogtreecommitdiff
path: root/include/olm/olm.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/olm/olm.hh')
-rw-r--r--include/olm/olm.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/olm/olm.hh b/include/olm/olm.hh
index 34d84fd..bee1ae4 100644
--- a/include/olm/olm.hh
+++ b/include/olm/olm.hh
@@ -25,9 +25,9 @@ extern "C" {
static const size_t OLM_MESSAGE_TYPE_PRE_KEY = 0;
static const size_t OLM_MESSAGE_TYPE_MESSAGE = 1;
-struct OlmAccount;
-struct OlmSession;
-struct OlmUtility;
+typedef struct OlmAccount OlmAccount;
+typedef struct OlmSession OlmSession;
+typedef struct OlmUtility OlmUtility;
/** The size of an account object in bytes */
size_t olm_account_size();
@@ -51,7 +51,7 @@ OlmSession * olm_session(
);
/** Initialise a utility object using the supplied memory
- * The supplied memory must be at least olm_session_size() bytes */
+ * The supplied memory must be at least olm_utility_size() bytes */
OlmUtility * olm_utility(
void * memory
);