diff options
author | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-21 14:13:28 +0200 |
---|---|---|
committer | Dirk Engling <erdgeist@erdgeist.org> | 2022-05-21 14:13:28 +0200 |
commit | 24effe857346411aa6b92c7d238441ce0e6cd861 (patch) | |
tree | 20abb0897453f67c53176398601a5434d6ad7efe /vchat-tls.h | |
parent | dc6e13b39ba2190d7f11378be48f8ccfe10d47f6 (diff) |
Reformatted using clang-format -format llvm
Diffstat (limited to 'vchat-tls.h')
-rwxr-xr-x | vchat-tls.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vchat-tls.h b/vchat-tls.h index 440d08e..17d2687 100755 --- a/vchat-tls.h +++ b/vchat-tls.h | |||
@@ -4,13 +4,13 @@ | |||
4 | 4 | ||
5 | typedef int (*vc_askpass_cb_t)(char *, int, int, void *); | 5 | typedef int (*vc_askpass_cb_t)(char *, int, int, void *); |
6 | struct vc_x509store_t { | 6 | struct vc_x509store_t { |
7 | char *cafile; | 7 | char *cafile; |
8 | char *capath; | 8 | char *capath; |
9 | char *crlfile; | 9 | char *crlfile; |
10 | vc_askpass_cb_t askpass_callback; | 10 | vc_askpass_cb_t askpass_callback; |
11 | char *certfile; | 11 | char *certfile; |
12 | char *keyfile; | 12 | char *keyfile; |
13 | int flags; | 13 | int flags; |
14 | }; | 14 | }; |
15 | typedef struct vc_x509store_t vc_x509store_t; | 15 | typedef struct vc_x509store_t vc_x509store_t; |
16 | 16 | ||
@@ -25,7 +25,7 @@ void vc_x509store_setcapath(vc_x509store_t *, char *); | |||
25 | void vc_x509store_setcrlfile(vc_x509store_t *, char *); | 25 | void vc_x509store_setcrlfile(vc_x509store_t *, char *); |
26 | void vc_cleanup_x509store(vc_x509store_t *s); | 26 | void vc_cleanup_x509store(vc_x509store_t *s); |
27 | 27 | ||
28 | int vc_tls_connect(int serverfd, vc_x509store_t * ); | 28 | int vc_tls_connect(int serverfd, vc_x509store_t *); |
29 | ssize_t vc_tls_sendmessage(const void *buf, size_t size); | 29 | ssize_t vc_tls_sendmessage(const void *buf, size_t size); |
30 | ssize_t vc_tls_receivemessage(void *buf, size_t size); | 30 | ssize_t vc_tls_receivemessage(void *buf, size_t size); |
31 | void vc_tls_cleanup(); | 31 | void vc_tls_cleanup(); |