extern.h revision 1.2
11.2Smrg/* $NetBSD: extern.h,v 1.2 1998/07/04 19:31:05 mrg Exp $ */ 21.1Schristos 31.1Schristos/* 41.1Schristos * Copyright (c) 1997 Christos Zoulas. All rights reserved. 51.1Schristos * 61.1Schristos * Redistribution and use in source and binary forms, with or without 71.1Schristos * modification, are permitted provided that the following conditions 81.1Schristos * are met: 91.1Schristos * 1. Redistributions of source code must retain the above copyright 101.1Schristos * notice, this list of conditions and the following disclaimer. 111.1Schristos * 2. Redistributions in binary form must reproduce the above copyright 121.1Schristos * notice, this list of conditions and the following disclaimer in the 131.1Schristos * documentation and/or other materials provided with the distribution. 141.1Schristos * 3. All advertising materials mentioning features or use of this software 151.1Schristos * must display the following acknowledgement: 161.1Schristos * This product includes software developed by Christos Zoulas. 171.1Schristos * 4. The name of the author may not be used to endorse or promote products 181.1Schristos * derived from this software without specific prior written permission. 191.1Schristos * 201.1Schristos * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 211.1Schristos * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 221.1Schristos * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 231.1Schristos * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 241.1Schristos * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 251.1Schristos * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 261.1Schristos * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 271.1Schristos * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 281.1Schristos * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 291.1Schristos * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 301.1Schristos */ 311.1Schristos 321.1Schristos/* announce.c */ 331.1Schristosint announce __P((CTL_MSG *, char *)); 341.1Schristosint print_mesg __P((char *, CTL_MSG *, char *)); 351.1Schristos 361.1Schristos/* print.c */ 371.1Schristosvoid print_request __P((char *, CTL_MSG *)); 381.1Schristosvoid print_response __P((char *, CTL_RESPONSE *)); 391.1Schristos 401.1Schristos/* process.c */ 411.1Schristosvoid process_request __P((CTL_MSG *, CTL_RESPONSE *)); 421.1Schristosvoid do_announce __P((CTL_MSG *, CTL_RESPONSE *)); 431.1Schristosint find_user __P((char *, char *)); 441.1Schristos 451.1Schristos/* table.c */ 461.1SchristosCTL_MSG *find_match __P((CTL_MSG *)); 471.1SchristosCTL_MSG *find_request __P((CTL_MSG *)); 481.1Schristosvoid insert_table __P((CTL_MSG *, CTL_RESPONSE *)); 491.1Schristosint new_id __P((void)); 501.1Schristosint delete_invite __P((int)); 511.2Smrg 521.2Smrg/* talkd.c */ 531.2Smrgextern int debug; 541.2Smrgextern int logging; 55