Navigation


Changeset 1186:56c36d1007b4 in freeDiameter for libfdcore/fdcore-internal.h


Ignore:
Timestamp:
Jun 7, 2013, 7:48:34 PM (11 years ago)
Author:
Sebastien Decugis <sdecugis@freediameter.net>
Branch:
default
Phase:
public
Message:

Further preparation of the DTLS integration. Some cleanups in the GNUTLS handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdcore/fdcore-internal.h

    r1181 r1186  
    296296
    297297/* Peer out */
    298 int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer, uint32_t flags);
     298int fd_out_send(struct msg ** msg, struct cnxctx * cnx, struct fd_peer * peer);
    299299int fd_out_start(struct fd_peer * peer);
    300300int fd_out_stop(struct fd_peer * peer);
     
    342342int             fd_cnx_start_clear(struct cnxctx * conn, int loop);
    343343void            fd_cnx_sethostname(struct cnxctx * conn, DiamId_t hn);
     344int             fd_cnx_proto_info(struct cnxctx * conn, char * buf, size_t len);
    344345#define ALGO_HANDSHAKE_DEFAULT  0 /* TLS for TCP, DTLS for SCTP */
    345346#define ALGO_HANDSHAKE_3436     1 /* For TLS for SCTP also */
     
    348349int             fd_cnx_getproto(struct cnxctx * conn);
    349350int             fd_cnx_getTLS(struct cnxctx * conn);
    350 int             fd_cnx_isMultichan(struct cnxctx * conn);
     351int             fd_cnx_is_unordered_delivery_supported(struct cnxctx * conn);
     352int             fd_cnx_unordered_delivery(struct cnxctx * conn, int is_allowed);
    351353int             fd_cnx_getcred(struct cnxctx * conn, const gnutls_datum_t **cert_list, unsigned int *cert_list_size);
    352354int             fd_cnx_get_local_eps(struct fd_list * list);
     
    355357int             fd_cnx_receive(struct cnxctx * conn, struct timespec * timeout, unsigned char **buf, size_t * len);
    356358int             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);
     359int             fd_cnx_send(struct cnxctx * conn, unsigned char * buf, size_t len);
    358360void            fd_cnx_destroy(struct cnxctx * conn);
    359361#ifdef GNUTLS_VERSION_300
    360362int             fd_tls_verify_credentials_2(gnutls_session_t session);
    361363#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 */
    365364
    366365/* Internal calls of the hook mechanism */
Note: See TracChangeset for help on using the changeset viewer.