Changeset 29:5ba91682f0bc in freeDiameter for freeDiameter/fD.h
- Timestamp:
- Oct 28, 2009, 3:19:50 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/fD.h
r28 r29 177 177 (((int)(_e) >= FDEVP_DUMP_ALL) && ((int)(_e) <= FDEVP_PSM_TIMEOUT)) 178 178 179 /* The data structure for FDEVP_CNX_INCOMING events */ 180 struct cnx_incoming { 181 struct msg * cer; /* the CER message received on this connection */ 182 struct cnxctx * cnx; /* The connection context */ 183 int validate; /* The peer is new, it must be validated (by an extension) or error CEA to be sent */ 184 }; 185 179 186 /* Structure to store a sent request */ 180 187 struct sentreq { … … 190 197 int fd_peer_alloc(struct fd_peer ** ptr); 191 198 int fd_peer_free(struct fd_peer ** ptr); 192 int fd_peer_handle_newCER( struct msg ** cer, struct cnxctx ** cnx , int tls_done);199 int fd_peer_handle_newCER( struct msg ** cer, struct cnxctx ** cnx ); 193 200 /* fd_peer_add declared in freeDiameter.h */ 201 int fd_peer_validate( struct fd_peer * peer ); 194 202 195 203 /* Peer expiry */ … … 216 224 struct cnxctx * fd_cnx_cli_connect_tcp(sSA * sa, socklen_t addrlen); 217 225 struct cnxctx * fd_cnx_cli_connect_sctp(int no_ip6, uint16_t port, struct fd_list * list); 226 int fd_cnx_start_clear(struct cnxctx * conn, int loop); 227 int fd_cnx_handshake(struct cnxctx * conn, int mode, char * priority, void * alt_creds); 218 228 char * fd_cnx_getid(struct cnxctx * conn); 219 int fd_cnx_start_clear(struct cnxctx * conn, int loop);220 int fd_cnx_handshake(struct cnxctx * conn, int mode, char * priority);229 int fd_cnx_getproto(struct cnxctx * conn); 230 int fd_cnx_getTLS(struct cnxctx * conn); 221 231 int fd_cnx_getcred(struct cnxctx * conn, const gnutls_datum_t **cert_list, unsigned int *cert_list_size); 222 232 int fd_cnx_getendpoints(struct cnxctx * conn, struct fd_list * local, struct fd_list * remote);
Note: See TracChangeset
for help on using the changeset viewer.