Changeset 1180:773498f59520 in freeDiameter for libfdcore/cnxctx.h
- Timestamp:
- Jun 5, 2013, 4:02:29 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/cnxctx.h
r1127 r1180 78 78 /* If both conditions */ 79 79 struct { 80 struct sctp s_ctx *array; /* an array of cc_sctp_para.pairs elements -- the #0 is special (session is outside)*/80 struct sctp3436_ctx *array; /* an array of cc_sctp_para.pairs elements -- the #0 is special (session is outside)*/ 81 81 struct sr_store *sess_store; /* Session data of the master session, to resume the children sessions */ 82 } cc_sctp s_data;82 } cc_sctp3436_data; 83 83 }; 84 84 … … 121 121 122 122 /* TLS over SCTP (multi-stream) */ 123 struct sctp s_ctx {123 struct sctp3436_ctx { 124 124 struct cnxctx *parent; /* for info such as socket, conn name, event list */ 125 125 uint16_t strid; /* Stream # of this session */ … … 134 134 }; 135 135 136 int fd_sctp s_init(struct cnxctx * conn);137 int fd_sctp s_handshake_others(struct cnxctx * conn, char * priority, void * alt_creds);138 int fd_sctp s_startthreads(struct cnxctx * conn, int others);139 void fd_sctp s_bye(struct cnxctx * conn);140 void fd_sctp s_waitthreadsterm(struct cnxctx * conn);141 void fd_sctp s_gnutls_deinit_others(struct cnxctx * conn);142 void fd_sctp s_stopthreads(struct cnxctx * conn);143 void fd_sctp s_destroy(struct cnxctx * conn);136 int fd_sctp3436_init(struct cnxctx * conn); 137 int fd_sctp3436_handshake_others(struct cnxctx * conn, char * priority, void * alt_creds); 138 int fd_sctp3436_startthreads(struct cnxctx * conn, int others); 139 void fd_sctp3436_bye(struct cnxctx * conn); 140 void fd_sctp3436_waitthreadsterm(struct cnxctx * conn); 141 void fd_sctp3436_gnutls_deinit_others(struct cnxctx * conn); 142 void fd_sctp3436_stopthreads(struct cnxctx * conn); 143 void fd_sctp3436_destroy(struct cnxctx * conn); 144 144 145 145 #endif /* DISABLE_SCTP */
Note: See TracChangeset
for help on using the changeset viewer.