#ifndef _S_BSDPD_H #define _S_BSDPD_H /* * Copyright (c) 1999-2002 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * The contents of this file constitute Original Code as defined in and * are subject to the Apple Public Source License Version 1.1 (the * "License"). You may not use this file except in compliance with the * License. Please obtain a copy of the License at * http://www.apple.com/publicsource and read it before using this file. * * This Original Code and all software distributed under the License are * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the * License for the specific language governing rights and limitations * under the License. * * @APPLE_LICENSE_HEADER_END@ */ /* * bsdpd.h * - Boot Server Discovery Protocol (BSDP) server definitions */ /* * Modification History * * Dieter Siegmund (dieter@apple.com) November 23, 1999 * - created */ #include "bsdp.h" #include "nbsp.h" #include "bootpd.h" #define ROOT_UID 0 #define SHADOW_SIZE_DEFAULT 48 boolean_t bsdp_init(); boolean_t is_bsdp_packet(dhcpol_t * rq_options, char * arch, char * sysid, dhcpol_t * rq_vsopt, bsdp_version_t * client_version, boolean_t * is_old_netboot); void bsdp_request(request_t * request, dhcp_msgtype_t dhcpmsg, char * arch, char * sysid, dhcpol_t * rq_vsopt, bsdp_version_t client_version); boolean_t old_netboot_request(request_t * request); /** ** Globals **/ extern u_int32_t G_age_time_seconds; extern gid_t G_admin_gid; extern boolean_t G_disk_space_warned; extern u_long G_shadow_size_meg; extern NBSPListRef G_client_sharepoints; #endif _S_BSDPD_H