home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume26 / xinetd-2.1.1 / part01 / libs / src / str / ss_rk.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-06-27  |  579 b   |  32 lines

  1. /*
  2.  * (c) Copyright 1992, 1993 by Panagiotis Tsirigotis
  3.  * All rights reserved.  The file named COPYRIGHT specifies the terms 
  4.  * and conditions for redistribution.
  5.  */
  6.  
  7. #ifndef SS_RK_H
  8. #define SS_RK_H
  9.  
  10. /*
  11.  * $Id: ss_rk.h,v 3.2 1993/06/16 00:06:34 panos Exp $
  12.  */
  13.  
  14. struct rk_header
  15. {
  16.     u_wide_int rk_digit1 ;                /* in the appropriate radix */
  17.     u_wide_int rk_patval ;
  18. } ;
  19.  
  20. #if WIDE_INT_SIZE == 32
  21. #    define PRIME                        16777213
  22. #else
  23. #    if WIDE_INT_SIZE == 16
  24. #        define PRIME                    251
  25. #    else
  26.         int WIDE_INT_SIZE_has_bad_value = or_is_undefined ;
  27. #    endif 
  28. #endif
  29.  
  30. #endif    /* SS_RK_H */
  31.  
  32.