"Fossies" - the Fresh Open Source Software Archive

Member "vnstat-2.9/src/iflist.h" (28 Jun 2019, 298 Bytes) of package /linux/misc/vnstat-2.9.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "iflist.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef IFLIST_H
    2 #define IFLIST_H
    4 typedef struct iflist {
    5     char interface[32];
    6     uint32_t bandwidth;
    7     struct iflist *next;
    8 } iflist;
   10 int iflistadd(iflist **ifl, const char *iface, const uint32_t bandwidth);
   11 int iflistsearch(iflist **ifl, const char *iface);
   12 void iflistfree(iflist **ifl);
   14 #endif