BONEHANDLE bone_create()

Description
Prepares a Bone connection. A BONEHANDLE is returned to idenfity the connection in other Bone functions.

Callback
None (returns immediately)

Notes
bone_create() must be called before bone_login.

Example

BONEHANDLE bnd;
bnd = bone_create();
if (!bnd)
{
    printf("Unable to create BONEHANDLE.\n");
    exit(1);
}
else
{
    bone_login(bnd,"boneuser","bonepass");
}