ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

client.h
Go to the documentation of this file.
00001 /*
00002  * clients.h
00003  * - useful declarations and definitions for adns client programs
00004  */
00005 /*
00006  *  This file is
00007  *    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
00008  *
00009  *  It is part of adns, which is
00010  *    Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
00011  *    Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>
00012  *
00013  *  This program is free software; you can redistribute it and/or modify
00014  *  it under the terms of the GNU General Public License as published by
00015  *  the Free Software Foundation; either version 2, or (at your option)
00016  *  any later version.
00017  *
00018  *  This program is distributed in the hope that it will be useful,
00019  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  *  GNU General Public License for more details.
00022  *
00023  *  You should have received a copy of the GNU General Public License
00024  *  along with this program; if not, write to the Free Software Foundation,
00025  *  Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00026  */
00027 
00028 #ifndef CLIENT_H_INCLUDED
00029 #define CLIENT_H_INCLUDED
00030 
00031 #define ADNS_VERSION_STRING "1.0"
00032 
00033 #define COPYRIGHT_MESSAGE \
00034  "Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>\n" \
00035  "Copyright (C) 1999-2000 Tony Finch <dot@dotat.at>\n" \
00036  "This is free software; see the source for copying conditions.  There is NO\n" \
00037  "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
00038 
00039 #define VERSION_MESSAGE(program) \
00040  program " (GNU adns) " ADNS_VERSION_STRING "\n\n" COPYRIGHT_MESSAGE
00041 
00042 #define VERSION_PRINT_QUIT(program)                               \
00043   if (fputs(VERSION_MESSAGE(program),stdout) == EOF ||            \
00044       fclose(stdout)) {                                           \
00045     perror(program ": write version message");                    \
00046     quitnow(-1);                                                  \
00047   }                                                               \
00048   quitnow(0);
00049 
00050 void quitnow(int rc) NONRETURNING;
00051 
00052 #endif

Generated on Sat May 26 2012 04:32:17 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.