4
* This file is part of libESMTP, a library for submission of RFC 2822
5
* formatted electronic mail messages using the SMTP protocol described
8
* Copyright (C) 2002 Brian Stafford <brian@stafford.uklinux.net>
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Lesser General Public
12
* License as published by the Free Software Foundation; either
13
* version 2.1 of the License, or (at your option) any later version.
15
* This library is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
* Lesser General Public License for more details.
20
* You should have received a copy of the GNU Lesser General Public
21
* License along with this library; if not, write to the Free Software
22
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25
/* Collect together some declarations that might not be present on
29
char *strdup (const char *s1);
32
#ifndef HAVE_STRCASECMP
33
int strcasecmp (const char *a, const char *b);
36
#ifndef HAVE_STRNCASECMP
37
#include <sys/types.h>
38
int strncasecmp (const char *a, const char *b, size_t len);
42
#include <sys/types.h>
43
int snprintf(char *s, size_t n, const char *format, ...);
46
#ifndef HAVE_VSNPRINTF
48
#include <sys/types.h>
49
int vsnprintf(char *s, size_t n, const char *format, va_list ap);