diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-06-30 15:30:28 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-06-30 16:06:37 -0700 |
| commit | 3eb6dd56853b84893180b07a5cea9888dbe4c6f5 (patch) | |
| tree | 1c97e06b8b494dcdc4672c23c407c7ad3a1c5bbd /src/supplemental/tls/tls_engine.h | |
| parent | 16737b7dc4db61b72000482eea508f181c275722 (diff) | |
| download | nng-3eb6dd56853b84893180b07a5cea9888dbe4c6f5.tar.gz nng-3eb6dd56853b84893180b07a5cea9888dbe4c6f5.tar.bz2 nng-3eb6dd56853b84893180b07a5cea9888dbe4c6f5.zip | |
TLS: eliminate more runtime ops vectors
Diffstat (limited to 'src/supplemental/tls/tls_engine.h')
| -rw-r--r-- | src/supplemental/tls/tls_engine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/supplemental/tls/tls_engine.h b/src/supplemental/tls/tls_engine.h index 431048df..65488907 100644 --- a/src/supplemental/tls/tls_engine.h +++ b/src/supplemental/tls/tls_engine.h @@ -185,10 +185,10 @@ typedef struct nng_tls_engine_s { nng_tls_engine_version version; // config_ops is the operations for TLS configuration objects. - nng_tls_engine_config_ops *config_ops; + const nng_tls_engine_config_ops *config_ops; // conn_ops is the operations for TLS connections (stream-oriented). - nng_tls_engine_conn_ops *conn_ops; + const nng_tls_engine_conn_ops *conn_ops; // name contains the name of the engine, for example "wolfSSL". // It is acceptable to append a version number as well. @@ -211,7 +211,7 @@ typedef struct nng_tls_engine_s { } nng_tls_engine; -// Implementation supplies this ops vector. +// Implementation supplies these ops vectors. extern nng_tls_engine nng_tls_engine_ops; // nng_tls_engine_send is called by the engine to send data over the |
