comparison include/freeDiameter/libfdproto.h @ 1393:357e9cec520f

libfdproto: add fd_fifo_set_max This function sets the maximum size for a FIFO.
author Thomas Klausner <tk@giga.or.at>
date Fri, 15 Nov 2019 11:29:15 +0100
parents 497d926f5e3d
children d4a4ab5239c7
comparison
equal deleted inserted replaced
1392:497d926f5e3d 1393:357e9cec520f
3030 * ENOMEM : Not enough memory to complete the creation. 3030 * ENOMEM : Not enough memory to complete the creation.
3031 */ 3031 */
3032 int fd_fifo_new ( struct fifo ** queue, int max ); 3032 int fd_fifo_new ( struct fifo ** queue, int max );
3033 3033
3034 /* 3034 /*
3035 * FUNCTION: fd_fifo_set_max
3036 *
3037 * PARAMETERS:
3038 * queue : The queue for which to set the maximum value
3039 * max : max number of items in the queue.
3040 *
3041 * DESCRIPTION:
3042 * Modify the maximum number of entries in a queue
3043 *
3044 * RETURN VALUE :
3045 * 0 : Success
3046 */
3047 int fd_fifo_set_max ( struct fifo * queue, int max );
3048
3049 /*
3035 * FUNCTION: fd_fifo_del 3050 * FUNCTION: fd_fifo_del
3036 * 3051 *
3037 * PARAMETERS: 3052 * PARAMETERS:
3038 * queue : Pointer to an empty queue to delete. 3053 * queue : Pointer to an empty queue to delete.
3039 * 3054 *
"Welcome to our mercurial repository"