netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
macip.h
Go to the documentation of this file.
1/*
2 *
3 * (c) 1997 Stefan Bethke. All rights reserved.
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20extern int macip_open(char *zone, uint32_t net, uint32_t mask, uint32_t ns,
21 outputfunc_t o);
22extern void macip_close(void);
23extern void macip_idle(void);
24
25extern void macip_output(char *buffer, int len);
26extern void macip_input(void);
27
void(* outputfunc_t)(char *buffer, int len)
Definition common.h:21
int net(struct interface *iface, char **av)
Definition config.c:565
int zone(struct interface *iface, char **av)
Definition config.c:679
#define mask
Definition hash.c:51
void macip_idle(void)
Definition macip.c:659
void macip_output(char *buffer, int len)
Definition macip.c:329
void macip_close(void)
Definition macip.c:768
int macip_open(char *zone, uint32_t net, uint32_t mask, uint32_t ns, outputfunc_t o)
Definition macip.c:691
void macip_input(void)
Definition macip.c:475
char buffer[MAXPATHLEN+2]
Definition netacnv.c:35