home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / nmap254b.zip / nmap_error.h < prev    next >
C/C++ Source or Header  |  2001-03-07  |  3KB  |  66 lines

  1.  
  2. /***********************************************************************/
  3. /* nmap_error.h -- Some simple error handling routines.                */
  4. /*                                                                     */
  5. /***********************************************************************/
  6. /*  The Nmap Security Scanner is (C) 1995-2001 Insecure.Com LLC. This  */
  7. /*  program is free software; you can redistribute it and/or modify    */
  8. /*  it under the terms of the GNU General Public License as published  */
  9. /*  by the Free Software Foundation; Version 2.  This guarantees your  */
  10. /*  right to use, modify, and redistribute this software under certain */
  11. /*  conditions.  If this license is unacceptable to you, we may be     */
  12. /*  willing to sell alternative licenses (contact sales@insecure.com). */
  13. /*                                                                     */
  14. /*  If you received these files with a written license agreement       */
  15. /*  stating terms other than the (GPL) terms above, then that          */
  16. /*  alternative license agreement takes precendence over this comment. */
  17. /*                                                                     */
  18. /*  Source is provided to this software because we believe users have  */
  19. /*  a right to know exactly what a program is going to do before they  */
  20. /*  run it.  This also allows you to audit the software for security   */
  21. /*  holes (none have been found so far).                               */
  22. /*                                                                     */
  23. /*  Source code also allows you to port Nmap to new platforms, fix     */
  24. /*  bugs, and add new features.  You are highly encouraged to send     */
  25. /*  your changes to fyodor@insecure.org for possible incorporation     */
  26. /*  into the main distribution.  By sending these changes to Fyodor or */
  27. /*  one the insecure.org development mailing lists, it is assumed that */
  28. /*  you are offering Fyodor the unlimited, non-exclusive right to      */
  29. /*  reuse, modify, and relicense the code.  This is important because  */
  30. /*  the inability to relicense code has caused devastating problems    */
  31. /*  for other Free Software projects (such as KDE and NASM).  Nmap     */
  32. /*  will always be available Open Source.  If you wish to specify      */
  33. /*  special license conditions of your contributions, just say so      */
  34. /*  when you send them.                                                */
  35. /*                                                                     */
  36. /*  This program is distributed in the hope that it will be useful,    */
  37. /*  but WITHOUT ANY WARRANTY; without even the implied warranty of     */
  38. /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  */
  39. /*  General Public License for more details (                          */
  40. /*  http://www.gnu.org/copyleft/gpl.html ).                            */
  41. /*                                                                     */
  42. /***********************************************************************/
  43.  
  44. /* $Id: nmap_error.h,v 1.2 2001/03/07 20:34:56 fyodor Exp $ */
  45.  
  46. #ifndef NMAP_ERROR_H
  47. #define NMAP_ERROR_H
  48.  
  49. #ifdef WIN32
  50. #include "mswin32\winclude.h"
  51. #endif
  52.  
  53. #include <stdarg.h>
  54. #include <stdio.h>
  55.  
  56. #if HAVE_UNISTD_H
  57. #include <unistd.h>
  58. #endif
  59.  
  60. void fatal(char *fmt, ...);
  61. void error(char *fmt, ...);
  62. void pfatal(char *err, ...);
  63. void gh_perror(char *err, ...);
  64. #endif /* NMAP_ERROR_H */
  65.  
  66.