From d1c03dbd583bbd0d3ab3c5c9ac47632325b5b690 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 14 Sep 2004 18:06:57 +0000 Subject: Merging of the CLAMSMTP_SP branch --- common/stringx.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'common/stringx.h') diff --git a/common/stringx.h b/common/stringx.h index 37fa245..deb8f4b 100644 --- a/common/stringx.h +++ b/common/stringx.h @@ -36,11 +36,8 @@ * */ -#ifndef __UTIL_H__ -#define __UTIL_H__ - -void messagex(clamsmtp_context_t* ctx, int level, const char* msg, ...); -void message(clamsmtp_context_t* ctx, int level, const char* msg, ...); +#ifndef __STRINGX_H__ +#define __STRINGX_H__ int check_first_word(const char* line, const char* word, int len, char* delims); int is_first_word(const char* line, const char* word, int len); @@ -51,7 +48,6 @@ char* trim_start(const char* data); char* trim_end(char* data); char* trim_space(char* data); -void plock(); -void punlock(); +int strtob(const char* str); -#endif /* __UTIL_H__ */ +#endif /* __STRINGX_H__ */ -- cgit v1.2.3