Changeset 1186:56c36d1007b4 in freeDiameter for libfdcore/fdcore-internal.h
- Timestamp:
- Jun 7, 2013, 7:48:34 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libfdcore/fdcore-internal.h
r1181 r1186 296 296 297 297 /* Peer out */ 298 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer , uint32_t flags);298 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer); 299 299 int fd_out_start(struct fd_peer * peer); 300 300 int fd_out_stop(struct fd_peer * peer); … … 342 342 int fd_cnx_start_clear(struct cnxctx * conn, int loop); 343 343 void fd_cnx_sethostname(struct cnxctx * conn, DiamId_t hn); 344 int fd_cnx_proto_info(struct cnxctx * conn, char * buf, size_t len); 344 345 #define ALGO_HANDSHAKE_DEFAULT 0 /* TLS for TCP, DTLS for SCTP */ 345 346 #define ALGO_HANDSHAKE_3436 1 /* For TLS for SCTP also */ … … 348 349 int fd_cnx_getproto(struct cnxctx * conn); 349 350 int fd_cnx_getTLS(struct cnxctx * conn); 350 int fd_cnx_isMultichan(struct cnxctx * conn); 351 int fd_cnx_is_unordered_delivery_supported(struct cnxctx * conn); 352 int fd_cnx_unordered_delivery(struct cnxctx * conn, int is_allowed); 351 353 int fd_cnx_getcred(struct cnxctx * conn, const gnutls_datum_t **cert_list, unsigned int *cert_list_size); 352 354 int fd_cnx_get_local_eps(struct fd_list * list); … … 355 357 int fd_cnx_receive(struct cnxctx * conn, struct timespec * timeout, unsigned char **buf, size_t * len); 356 358 int fd_cnx_recv_setaltfifo(struct cnxctx * conn, struct fifo * alt_fifo); /* send FDEVP_CNX_MSG_RECV event to the fifo list */ 357 int fd_cnx_send(struct cnxctx * conn, unsigned char * buf, size_t len , uint32_t flags);359 int fd_cnx_send(struct cnxctx * conn, unsigned char * buf, size_t len); 358 360 void fd_cnx_destroy(struct cnxctx * conn); 359 361 #ifdef GNUTLS_VERSION_300 360 362 int fd_tls_verify_credentials_2(gnutls_session_t session); 361 363 #endif /* GNUTLS_VERSION_300 */ 362 363 /* Flags for the fd_cnx_send function : */364 #define FD_CNX_ORDERED (1 << 0) /* All messages sent with this flag set will be delivered in the same order. No guarantee on other messages */365 364 366 365 /* Internal calls of the hook mechanism */
Note: See TracChangeset
for help on using the changeset viewer.