upscli_ssl \- Check SSL mode for current connection
.SH"SYNOPSIS"
.sp
.nf
#include <upsclient\&.h>
.fi
.sp
.nf
int upscli_ssl(UPSCONN_t *ups);
.fi
.SH"DESCRIPTION"
.sp
The \fBupscli_ssl\fR() function takes the pointer \fIups\fR to a UPSCONN_t state structure\&. It only returns 1 if SSL support has been compiled into the \fBupsclient\fR(3) library, and if it was successfully enabled for this connection\&.
.SH"RETURN VALUE"
.sp
The \fBupscli_ssl\fR() function returns 1 if SSL is running, and 0 if not\&. It returns \-1 in the event of an error\&.