Navigation


Changeset 1186:56c36d1007b4 in freeDiameter for include


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.

Location:
include/freeDiameter
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • include/freeDiameter/freeDiameter-host.h.in

    r1136 r1186  
    6262#cmakedefine WORKAROUND_ACCEPT_INVALID_VSAI
    6363#cmakedefine GNUTLS_VERSION_210
     64#cmakedefine GNUTLS_VERSION_212
    6465#cmakedefine GNUTLS_VERSION_300
    6566#cmakedefine GNUTLS_VERSION_310
  • include/freeDiameter/libfdcore.h

    r1180 r1186  
    399399
    400400/*
     401 * FUNCTION:    fd_peer_cnx_proto_info
     402 *
     403 * PARAMETERS:
     404 *  peer        : The peer which information to be read
     405 *  buf         : Where to store the protocol information
     406 *  len         : available space in bug
     407 *
     408 * DESCRIPTION:
     409 *   Creates a string describing the current connection to this peer, e.g.: "TCP,TLS,soc#3".
     410 *
     411 * RETURN VALUE:
     412 *  0   : buffer was written
     413 * >=0  : error code.
     414 */
     415int fd_peer_cnx_proto_info(struct peer_hdr *peer, char * buf, size_t len);
     416
     417/*
    401418 * FUNCTION:    fd_peer_get_load_pending
    402419 *
  • include/freeDiameter/libfdproto.h

    r1171 r1186  
    31843184        fd_fifo_timedget_int((queue), (void *)(item), (abstime))
    31853185
     3186
     3187/*
     3188 * FUNCTION:    fd_fifo_select
     3189 *
     3190 * PARAMETERS:
     3191 *  queue       : The queue to test.
     3192 *  abstime     : the absolute time until which we can block waiting for an item. If NULL, the function returns immediatly.
     3193 *
     3194 * DESCRIPTION:
     3195 *  This function is similar to select(), it waits for data to be available in the queue
     3196 * until the abstime is expired.
     3197 * Upon function entry, even if abstime is already expired the data availability is tested.
     3198 *
     3199 * RETURN VALUE:
     3200 *  0           : timeout expired without available data.
     3201 *  <0          : An error occurred (e.g., -EINVAL...)
     3202 *  >0          : data is available. The next call to fd_fifo_get will not block.
     3203 */
     3204int fd_fifo_select ( struct fifo * queue, const struct timespec *abstime );
     3205
     3206
     3207
    31863208/* Dump a fifo list and optionally its inner elements -- beware of deadlocks! */
    31873209typedef DECLARE_FD_DUMP_PROTOTYPE((*fd_fifo_dump_item_cb), void * item); /* This function should be 1 line if possible, or use indent level. Ends with '\n' */
Note: See TracChangeset for help on using the changeset viewer.