Navigation


Changeset 1393:357e9cec520f in freeDiameter for libfdproto


Ignore:
Timestamp:
Nov 15, 2019, 7:29:15 PM (4 years ago)
Author:
Thomas Klausner <tk@giga.or.at>
Branch:
default
Phase:
public
Message:

libfdproto: add fd_fifo_set_max

This function sets the maximum size for a FIFO.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libfdproto/fifo.c

    r1385 r1393  
    118118}
    119119
     120int fd_fifo_set_max (struct fifo * queue, int max)
     121{
     122    queue->max = max;
     123    return 0;
     124}
     125
     126
    120127/* Dump the content of a queue */
    121128DECLARE_FD_DUMP_PROTOTYPE(fd_fifo_dump, char * name, struct fifo * queue, fd_fifo_dump_item_cb dump_item)
Note: See TracChangeset for help on using the changeset viewer.