/* -*-c-*-
*
- * $Id: mpreduce.h,v 1.1 2004/03/27 00:04:46 mdw Exp $
+ * $Id$
*
* Efficient reduction modulo nice primes
*
* MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: mpreduce.h,v $
- * Revision 1.1 2004/03/27 00:04:46 mdw
- * Implement efficient reduction for pleasant-looking primes.
- *
- */
-
#ifndef CATACOMB_MPREDUCE_H
#define CATACOMB_MPREDUCE_H
* Arguments: @gfreduce *r@ = structure to fill in
* @mp *x@ = an integer
*
- * Returns: ---
+ * Returns: Zero for success, nonzero on error.
*
* Use: Initializes a context structure for reduction.
*/
-extern void mpreduce_create(mpreduce */*r*/, mp */*p*/);
+extern int mpreduce_create(mpreduce */*r*/, mp */*p*/);
/* --- @mpreduce_destroy@ --- *
*