/* <nagp01.h>
 *
 * Copyright 1996 Numerical Algorithms Group
 *
 * Include file for NAG C Library p01 Chapter
 *
 * Mark 4, revised, 1996.
 * Mark 5 revised. IER-2166 (Feb 1998).
 * Mark 6 revised. IER-3054 (July 2000).
 */
#ifndef NAGP01
#define NAGP01

/// ML 9/22/2004 COMPILING_ONAG8HEADERS_IN_OC
#ifndef _MSC_VER	   //VC
	// This must be put into every header since it does not appear to be
	// inheritable from parent header to child (#include-ded) header:
	#pragma dll(ONAG8)
#endif // !_MSC_VER	   //VC
/// end COMPILING_ONAG8HEADERS_IN_OC

#ifdef __cplusplus
extern "C"
{
#endif
  /* begin proto */
  extern NAG_DLL_EXPIMP Integer NAG_CALL p01abf_f(Integer ifail, Integer ierror, const char *srname, Integer nrec,
                          char *rec, Integer srname_len, Integer rec_len);
  extern void p01abw_f(const char *n, const char *name, Integer inform, Integer *ierr,
                       const char *srname, Integer n_len, Integer name_len, Integer srname_len);
  extern void p01aby_f(Integer n, const char *name, Integer inform, Integer *ierr,
                       const char *srname, Integer name_len, Integer srname_len);
  extern void p01abz_f(void);
  ///Cheney 2007-6-5 CHANGE_STRING_TO_STR_TO_COMPILE
  //extern  NAG_DLL_EXPIMP void NAG_CALL p01acc(const char *string, int code, const char *name, NagError *fail);
  extern  NAG_DLL_EXPIMP void NAG_CALL p01acc(const char *str, int code, const char *name, NagError *fail);
  ///end CHANGE_STRING_TO_STR_TO_COMPILE
  extern Integer p01acf_f(Integer ifail, Integer ierror, const char *srname, const char *varbnm,
                          Integer nrec, const char *rec, Integer srname_len, Integer varbnm_len,
                          Integer rec_len);
  extern  NAG_DLL_EXPIMP void NAG_CALL p01zzc(const char *name, Boolean *valdty, Integer *ichklm);
  /* end proto */
#ifdef __cplusplus
}
#endif
#endif /* not NAGP01 */
