aboutsummaryrefslogtreecommitdiff
path: root/pmult/pmult.c
diff options
context:
space:
mode:
Diffstat (limited to 'pmult/pmult.c')
-rw-r--r--pmult/pmult.c31
1 files changed, 3 insertions, 28 deletions
diff --git a/pmult/pmult.c b/pmult/pmult.c
index 0b1dff21..92cfc844 100644
--- a/pmult/pmult.c
+++ b/pmult/pmult.c
@@ -31,48 +31,23 @@
#include "libmf.h"
/* FIXME */
#include <inttypes.h>
const char *mu_umaxtostr (unsigned slot, uintmax_t val);
-/* There are several problems with using libpmilter, as of
- meta1-1.0.PreAlpha22.0:
-
- 1. libpmilter and libpmutl are installed, but none of the seven libraries
- they depend on is;
- 2. None of the necessary headers are installed, except pmfapi.h,
- pmilter.h and pmfdef.h;
- 3. The rest of headers include generic.h which defines PACKAGE_* symbols,
- which no decent library should ever attempt to do;
-
- I compensate for these deficiences by:
-
- 1 and 2 - Special handling in configure.ac, which requires Meta1 sources
- to be present;
- 3 - Using the necessary symbols ASAP and undefining them before
- including the pmilter headers;
-*/
-
-const char *program_version = "pmult (" PACKAGE_STRING ")";
-const char *package_bugreport = "<" PACKAGE_BUGREPORT ">";
-#undef PACKAGE
-#undef PACKAGE_BUGREPORT
-#undef PACKAGE_NAME
-#undef PACKAGE_STRING
-#undef PACKAGE_TARNAME
-#undef PACKAGE_VERSION
-#undef VERSION
-
#include "sm/error.h"
#include "sm/smreplycodes.h"
#include "sm/pmilter.h"
#include "sm/pmfdef.h"
#include "sm/pmfapi.h"
#include "pdbg.h"
+const char *program_version = "pmult (" PACKAGE_STRING ")";
+const char *package_bugreport = "<" PACKAGE_BUGREPORT ">";
+
char *portspec; /* Communication socket */
int log_to_stderr; /* Use stderr for logging */
char *log_tag; /* override mu_log_tag */
mu_log_level_t debug_level; /* Debug verbosity level */
mu_debug_t pmult_debug; /* Debugging object */
static pthread_mutex_t pmult_debug_mutex = PTHREAD_MUTEX_INITIALIZER;

Return to:

Send suggestions and report system problems to the System administrator.