File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / src / ippool.h
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Mar 17 00:39:23 2021 UTC (3 years, 3 months ago) by misho
Branches: mpd, MAIN
CVS tags: v5_9p16, v5_9, HEAD
mpd 5.9

    1: 
    2: /*
    3:  * ippool.h
    4:  *
    5:  * Written by Alexander Motin <mav@FreeBSD.org>
    6:  */
    7: 
    8: #ifndef _IPPOOL_H_
    9: #define _IPPOOL_H_
   10: 
   11: #include <sys/types.h>
   12: #include <sys/param.h>
   13: #include <netinet/in_systm.h>
   14: #include <netinet/ip.h>
   15: 
   16: /*
   17:  * DEFINITIONS
   18:  */
   19: 
   20: /*
   21:  * VARIABLES
   22:  */
   23: 
   24:   extern const struct cmdtab IPPoolSetCmds[];
   25: 
   26: /*
   27:  * FUNCTIONS
   28:  */
   29: 
   30:   extern int	IPPoolGet(char *pool, struct u_addr *ip);
   31:   extern void	IPPoolFree(char *pool, struct u_addr *ip);
   32:   
   33:   extern void	IPPoolInit(void);
   34:   extern int	IPPoolStat(Context ctx, int ac, const char *const av[], const void *arg);
   35: 
   36: #endif
   37: 

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>