Man page - brlapi_connectionsettings_t(3)
Packages contas this manual
- brlapi_strerror_r(3)
- brlapi_perror(3)
- brlapi_write(3)
- brlapi_protocol(3)
- brlapi_packet_t(3)
- brlapi_param_type_t(3)
- brlapi_error_location(3)
- brlapi_constants.h(3)
- brlapi_param_bool_t(3)
- brlapi__pause(3)
- brlapi__strexception(3)
- brlapi_keys(3)
- brlapi_gaierrno(3)
- brlapi_param_t(3)
- brlapi_keycodes(3)
- brlapi_errlist(3)
- brlapi_handle_t(3)
- brlapi_param_properties_t(3)
- brlapi_param_subparam_t(3)
- brlapi_range_t(3)
- brlapi_param_flags_t(3)
- brlapi_strerror(3)
- brlapi_header_t(3)
- brlapi_errfun(3)
- brlapi_connection(3)
- brlapi_fd_mutex(3)
- brlapi__write(3)
- brlapi_sync(3)
- brlapi_settings_t(3)
- brlapi_errno(3)
- brlapi_tty(3)
- brlapi_nerr(3)
- brlapi_keycodes.h(3)
- brlapi_suspend(3)
- brlapi_resume(3)
- brlapi_error(3)
- brlapi_misc(3)
- brlapi__sync(3)
- brlapi_pause(3)
- brlapi_strexception(3)
- brlapi_libcerrno(3)
- brlapi_handles(3)
- brlapi_driverspecific(3)
- brlapi_info(3)
- brlapi_protocol.h(3)
- brlapi_param.h(3)
- brlapi_error_t(3)
- brlapi_version(3)
- brlapi_deprecated(3)
apt-get install libbrlapi-dev
Manual
| brlapi_connectionSettings_t(3) | Library Functions Manual | brlapi_connectionSettings_t(3) |
NAME
brlapi_connectionSettings_t - Settings structure for BrlAPI connection.
SYNOPSIS
#include <brlapi.h>
Data Fields
const char * auth
const char * host
Detailed Description
This structure holds every parameter needed to connect to BrlAPI: which file the authorization key can be found in and which computer to connect to.
Examples:
brlapi_connectionSettings_t settings; settings.auth="/etc/brlapi.key"; settings.host="foo";
libbrlapi will read authorization key from file /etc/brlapi.key and connect to the machine called 'foo', on the default TCP port.
settings.host="10.1.0.2";
lets directly enter an IP address instead of a machine name.
settings.host=":1";
lets libbrlapi connect to the local computer, on port BRLAPI_SOCKETPORTNUM+1
See also
Field Documentation
const char* brlapi_connectionSettings_t::auth
For security reasons, libbrlapi has to get authorized to connect to the BrlAPI server. This can be done via a secret key, for instance. This is the path to the file which holds it; it will hence have to be readable by the application.
Setting NULL defaults it to local installation setup or to the content of the BRLAPI_AUTH environment variable, if it exists.
const char* brlapi_connectionSettings_t::host
This tells where the BrlAPI server resides: it might be listening on another computer, on any TCP port. It should look like 'foo:1', which means TCP port number BRLAPI_SOCKETPORTNUM+1 on computer called 'foo'.
Note
Settings NULL defaults it to localhost, using the local installation's default TCP port, or to the content of the BRLAPI_HOST environment variable, if it exists.
Author
Generated automatically by Doxygen for BrlAPI from the source code.
| Version 0.8 | BrlAPI |