aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-12-16 15:46:08 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-12-16 15:46:08 +0100
commit358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c (patch)
treee3f7626a46a4819e4831fd46a84d88d76d3d7b76 /phpBB/phpbb/extension
parentb7243fad62a61a3f8fb8e4417aec847b89cea508 (diff)
parent087bf6fd35913152129eed97005953ac3979002a (diff)
downloadforums-358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c.tar
forums-358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c.tar.gz
forums-358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c.tar.bz2
forums-358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c.tar.xz
forums-358ddc95e8e3ca2480cfe0a59b5ff8fc62592d1c.zip
Merge pull request #5466 from marc1706/ticket/15893
[ticket/15893] Pass needed language class directly to format quote
Diffstat (limited to 'phpBB/phpbb/extension')
0 files changed, 0 insertions, 0 deletions
f='#n30'>30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
/*
 * Guillaume Cottenceau (gc@mandrakesoft.com)
 *
 * Copyright 2000 Mandrakesoft
 *
 * This software may be freely redistributed under the terms of the GNU
 * public license.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */

/*
 * Portions from Erik Troan (ewt@redhat.com)
 *
 * Copyright 1996 Red Hat Software 
 *
 */

#ifndef _NETWORK_H_
#define _NETWORK_H_

#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>

enum return_type intf_select_and_up();

enum return_type nfs_prepare(void);
enum return_type ftp_prepare(void);
enum return_type http_prepare(void);
#ifndef DISABLE_KA
enum return_type ka_prepare(void);
#endif


enum boot_proto_type { BOOTPROTO_STATIC, BOOTPROTO_DHCP, BOOTPROTO_ADSL_PPPOE };
enum auto_detection_type { AUTO_DETECTION_NONE, AUTO_DETECTION_ALL, AUTO_DETECTION_WIRED };

/* all of these in_addr things are in network byte order! */
struct interface_info {
	char device[10];
	int is_ptp, is_up;
	struct in_addr ip, netmask, broadcast, network;
	enum boot_proto_type boot_proto;
	char *user, *pass, *acname; /* for ADSL connection */
};


/* these are to be used only by dhcp.c */

char * guess_netmask(char * ip_addr);

int configure_net_device(struct interface_info * intf);

extern char * hostname;
extern char * domain;
extern struct in_addr gateway;
extern struct in_addr dns_server;
extern struct in_addr dns_server2;



#endif