diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-11-10 10:07:40 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-11-10 10:07:40 +0100 |
commit | 852e10d59bb6262de04593903981dec1e7ca85dc (patch) | |
tree | d5d31549a0d4cca8698e20fed2aa8f3cf1c53575 /src/libwaitress/waitress.h | |
parent | bf397e4019acb60d90261247fd2850b849052ede (diff) | |
download | pianobar-852e10d59bb6262de04593903981dec1e7ca85dc.tar.gz pianobar-852e10d59bb6262de04593903981dec1e7ca85dc.tar.bz2 pianobar-852e10d59bb6262de04593903981dec1e7ca85dc.zip |
Die if trust file load fails
Diffstat (limited to 'src/libwaitress/waitress.h')
-rw-r--r-- | src/libwaitress/waitress.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libwaitress/waitress.h b/src/libwaitress/waitress.h index 8d4e5a4..e1cf303 100644 --- a/src/libwaitress/waitress.h +++ b/src/libwaitress/waitress.h @@ -77,6 +77,7 @@ typedef enum { WAITRESS_RET_TLS_WRITE_ERR, WAITRESS_RET_TLS_READ_ERR, WAITRESS_RET_TLS_HANDSHAKE_ERR, + WAITRESS_RET_TLS_TRUSTFILE_ERR, } WaitressReturn_t; /* reusable handle @@ -109,7 +110,7 @@ typedef struct { } request; } WaitressHandle_t; -void WaitressInit (WaitressHandle_t *, const char *); +WaitressReturn_t WaitressInit (WaitressHandle_t *, const char *); void WaitressFree (WaitressHandle_t *); bool WaitressSetProxy (WaitressHandle_t *, const char *); char *WaitressUrlEncode (const char *); |