netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
common.h
Go to the documentation of this file.
1/*
2 *
3 * (c) 1997 Stefan Bethke. All rights reserved.
4 * (c) 2025 Daniel Markstedt. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 */
20
21typedef void (*outputfunc_t)(char *buffer, int len);
22
23typedef struct {
24 char *network;
25 char *netmask;
27 char *zone;
30
31macip_options *read_options(const char *);
void(* outputfunc_t)(char *buffer, int len)
Definition common.h:21
macip_options * read_options(const char *)
Definition contrib/macipgw/main.c:197
char buffer[MAXPATHLEN+2]
Definition netacnv.c:35
Definition common.h:23
char * unprivileged_user
Definition common.h:28
char * network
Definition common.h:24
char * zone
Definition common.h:27
char * nameserver
Definition common.h:26
char * netmask
Definition common.h:25