source: PSPA/madxPSPA/src/mad_err.h @ 447

Last change on this file since 447 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 733 bytes
Line 
1#ifndef MAD_ERR_H
2#define MAD_ERR_H
3
4// interface
5
6// used in C and Fortran
7void  seterrorflagfort(int* errcode, const char* from, int *lf, const char* descr, int *ld);
8void  seterrorflag    (int  errcode, const char* from,          const char* descr);
9int   geterrorflag    (void);
10void  clearerrorflag  (void);
11void  augmentfwarn    (void);
12
13void  put_info    (const char* t1, const char* t2);
14void  warning     (const char* t1, const char* t2);
15void  fatal_error (const char* t1, const char* t2);
16
17// used in C only
18void  warningnew  (const char* t1, const char* fmt, ...);
19void  error       (const char* t1, const char* fmt, ...);
20
21// used only in madx_finish
22void  mad_err_getwarn(int* cwarn, int* fwarn);
23
24#endif // MAD_ERR_H
25
Note: See TracBrowser for help on using the repository browser.