FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
hecmw_error.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_ERROR_INCLUDED
7 #define HECMW_ERROR_INCLUDED
8 
9 #include <stdarg.h>
10 
11 extern int HECMW_set_verror(int errorno, const char *fmt, va_list ap);
12 
13 extern int HECMW_set_error(int errorno, const char *fmt, ...);
14 
15 extern int HECMW_get_error(char **errmsg);
16 
17 extern int HECMW_get_errno(void);
18 
19 extern char *HECMW_get_errmsg(void);
20 
21 #endif
HECMW_set_verror
int HECMW_set_verror(int errorno, const char *fmt, va_list ap)
Definition: hecmw_error.c:17
HECMW_get_error
int HECMW_get_error(char **errmsg)
Definition: hecmw_error.c:49
HECMW_get_errmsg
char * HECMW_get_errmsg(void)
Definition: hecmw_error.c:58
HECMW_set_error
int HECMW_set_error(int errorno, const char *fmt,...)
Definition: hecmw_error.c:37
HECMW_get_errno
int HECMW_get_errno(void)
Definition: hecmw_error.c:56