OpenAFS
OpenAFS distributed network file system
|
00001 /* 00002 * Copyright 2004 by the Massachusetts Institute of Technology 00003 * 00004 * All rights reserved. 00005 * 00006 * Permission to use, copy, modify, and distribute this software and its 00007 * documentation for any purpose and without fee is hereby granted, 00008 * provided that the above copyright notice appear in all copies and that 00009 * both that copyright notice and this permission notice appear in 00010 * supporting documentation, and that the name of the Massachusetts 00011 * Institute of Technology (M.I.T.) not be used in advertising or publicity 00012 * pertaining to distribution of the software without specific, written 00013 * prior permission. 00014 * 00015 * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING 00016 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL 00017 * M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR 00018 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, 00019 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 00020 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS 00021 * SOFTWARE. 00022 * 00023 */ 00024 00025 #pragma once 00026 00027 #ifdef __cplusplus 00028 extern "C" { 00029 #endif 00030 00031 long icf_CheckAndAddAFSPorts(int portset); 00032 00033 #ifdef __cplusplus 00034 } 00035 #endif 00036 00037 #define AFS_PORTSET_CLIENT 1 00038 #define AFS_PORTSET_SERVER 2 00039