Deleted Added
full compact
ifconfig.h (166956) ifconfig.h (170531)
1/*
2 * Copyright (c) 1997 Peter Wemm.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * so there!
33 *
1/*
2 * Copyright (c) 1997 Peter Wemm.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

26 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 *
32 * so there!
33 *
34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 166956 2007-02-24 23:55:46Z sam $
34 * $FreeBSD: head/sbin/ifconfig/ifconfig.h 170531 2007-06-11 03:56:33Z sam $
35 */
36
37#define __constructor __attribute__((constructor))
38
39struct afswtch;
40struct cmd;
41
42typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp);

--- 92 unchanged lines hidden (view full) ---

135
136void Perror(const char *cmd);
137void printb(const char *s, unsigned value, const char *bits);
138
139void ifmaybeload(const char *name);
140
141typedef void clone_callback_func(int, struct ifreq *);
142void clone_setcallback(clone_callback_func *);
35 */
36
37#define __constructor __attribute__((constructor))
38
39struct afswtch;
40struct cmd;
41
42typedef void c_func(const char *cmd, int arg, int s, const struct afswtch *afp);

--- 92 unchanged lines hidden (view full) ---

135
136void Perror(const char *cmd);
137void printb(const char *s, unsigned value, const char *bits);
138
139void ifmaybeload(const char *name);
140
141typedef void clone_callback_func(int, struct ifreq *);
142void clone_setcallback(clone_callback_func *);
143
144/*
145 * XXX expose this so modules that neeed to know of any pending
146 * operations on ifmedia can avoid cmd line ordering confusion.
147 */
148struct ifmediareq *ifmedia_getstate(int s);