Kolibri library – API Documentation

Header image

Main page


KolibriErr KOLIBRI_FUNC_ATTR kolibriInit ( char const *  project,
char const *  host,
char const *  producer,
char const *  user,
KolibriUint8 const *  passHash 
)

Initialise.

This is the first function of the Kolibri library that must be called if you want to do more than reading the library version or generating the password hash.

Parameters
projectProject name (max. KOLIBRI_MAX_PROJECT_LEN characters)
hostHost name (max. KOLIBRI_MAX_HOST_LEN characters)
producerProducer name (max. KOLIBRI_MAX_PRODUCER_LEN characters)
userUser name (max. KOLIBRI_MAX_USER_LEN characters)
passHashPassword hash - 160-bit SHA-1 hash build from password, user name and project all seperated by colons: SHA-1(password ":" user-name ":" project) You can use the function kolibriGeneratePassHash() to generate the password hash.
Returns
Returns one of the following codes:
See also
kolibriDeinit()
Note
If you want to connect to the Kolibri Broker through a proxy server, use the functions of the HTTP client library to set the proxy.
Reentrance
No
Since
1.0.0





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated by Doxygen 1.8.10