Changeset 1181:22de21feec64 in freeDiameter for libfdcore/cnxctx.h
- Timestamp:
- Jun 5, 2013, 8:22:26 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.h
r1180 r1181 41 41 /* The connection context structure */ 42 42 struct cnxctx { 43 char cc_id[60]; /* The name of this connection */43 char cc_id[60]; /* The name of this connection. the first 5 chars are reserved for flags display (cc_state). */ 44 44 char cc_remid[60]; /* Id of remote peer */ 45 45 … … 65 65 DiamId_t cn; /* If not NULL, remote certif will be checked to match this Common Name */ 66 66 int mode; /* GNUTLS_CLIENT / GNUTLS_SERVER */ 67 int algo; /* ALGO_HANDSHAKE_DEFAULT / ALGO_HANDSHAKE_3436 */ 67 68 gnutls_session_t session; /* Session object (stream #0 in case of SCTP) */ 68 69 } cc_tls_para; … … 97 98 /* TLS */ 98 99 int fd_tls_rcvthr_core(struct cnxctx * conn, gnutls_session_t session); 99 int fd_tls_prepare(gnutls_session_t * session, int mode, char * priority, void * alt_creds);100 int fd_tls_prepare(gnutls_session_t * session, int mode, int dtls, char * priority, void * alt_creds); 100 101 #ifndef GNUTLS_VERSION_300 101 102 int fd_tls_verify_credentials(gnutls_session_t session, struct cnxctx * conn, int verbose);
Note: See TracChangeset
for help on using the changeset viewer.