Logo Search packages:      
Sourcecode: tucnak2 version File versions  Download package

interfaces.h

/*
    Tucnak - VHF contest log
    Copyright (C) 2002-2006  Ladislav Vaiz <ok1zia@nagano.cz>
    and authors of samba www.samba.org
    
    This program is free software; you can redistribute it and/or                                                        
    modify it under the terms of the GNU General Public License                                                          
    version 2 as published by the Free Software Foundation.
*/   


/* 
   This structure is used by lib/interfaces.c to return the list of network
   interfaces on the machine
*/

#ifndef _INTERFACES_H
#define _INTERFACES_H

struct iface_struct {
    char name[16];
    struct in_addr ip;
    struct in_addr netmask;
};

int get_interfaces(struct iface_struct *ifaces, int max_interfaces);

#endif

Generated by  Doxygen 1.6.0   Back to index