upscli_add_host_cert man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

UPSCLI_ADD_HOST_CERT(3)		  NUT Manual	       UPSCLI_ADD_HOST_CERT(3)

NAME
       upscli_add_host_cert - Register a security rule for an host.

SYNOPSIS
       #include <upsclient.h>

       void upscli_add_host_cert(const char* hostname, const char* certname,
			      int certverify, int forcessl);

DESCRIPTION
       The upscli_add_host_cert() function register a security rule associated
       to the hostname. All connections to this host use this rule.

       The rule is composed of the certificate name certname 'expected for the
       host, 'certverify if the certificate must be validated for the host and
       forcessl if a secured connection must be used to connect to the host.

RETURN VALUE
       upscli_add_host_cert() returns no value.

SEE ALSO
       upscli_init(3), upscli_connect(3), upscli_ssl(3), upscli_strerror(3),
       upscli_upserror(3)

Network UPS Tools 2.7.3		  04/17/2015	       UPSCLI_ADD_HOST_CERT(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net