xca/lib/base.h.in
2003-06-12 20:23:45 +00:00

21 lines
407 B
C

/* base definitions */
#ifndef BASE_H
#define BASE_H
#define VER "@PACKAGE_VERSION@"
#define MARK CERR("--Mark--")
#define DBEX(x) CERR("DB-error: "<<x.what()<<", Errno: "<<x.get_errno())
#ifdef PRINTF_DEBUG
#define CERR(x) cerr <<__FILE__<<" ("<<__LINE__<<") :"<< x << endl;
#else
#define CERR(x)
#endif
#define PREFIX "@prefix@/share/xca"
#define XCA_TITLE "X Certifikate and Key management"
#endif