Changeset 1186:56c36d1007b4 in freeDiameter for include
- Timestamp:
- Jun 7, 2013, 7:48:34 PM (11 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/freeDiameter
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/freeDiameter-host.h.in
r1136 r1186 62 62 #cmakedefine WORKAROUND_ACCEPT_INVALID_VSAI 63 63 #cmakedefine GNUTLS_VERSION_210 64 #cmakedefine GNUTLS_VERSION_212 64 65 #cmakedefine GNUTLS_VERSION_300 65 66 #cmakedefine GNUTLS_VERSION_310 -
include/freeDiameter/libfdcore.h
r1180 r1186 399 399 400 400 /* 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 */ 415 int fd_peer_cnx_proto_info(struct peer_hdr *peer, char * buf, size_t len); 416 417 /* 401 418 * FUNCTION: fd_peer_get_load_pending 402 419 * -
include/freeDiameter/libfdproto.h
r1171 r1186 3184 3184 fd_fifo_timedget_int((queue), (void *)(item), (abstime)) 3185 3185 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 */ 3204 int fd_fifo_select ( struct fifo * queue, const struct timespec *abstime ); 3205 3206 3207 3186 3208 /* Dump a fifo list and optionally its inner elements -- beware of deadlocks! */ 3187 3209 typedef 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.