1/* 2 * Copyright (c) 2001-2002 Sendmail, Inc. and its suppliers. 3 * All rights reserved. 4 * 5 * By using this file, you agree to the terms and conditions set 6 * forth in the LICENSE file which can be found at the top level of 7 * the sendmail distribution. 8 * 9 */ 10 11#include <sm/gen.h> |
12SM_RCSID("@(#)$Id: sasl.c,v 8.19.2.1 2002/07/13 18:04:56 ca Exp $") |
13 14#if SASL 15# include <stdlib.h> 16# include <sendmail.h> 17# include <errno.h> 18 19/* 20** In order to ensure that storage leaks are tracked, and to prevent --- 182 unchanged lines hidden (view full) --- 203 h1 = h + 1; 204 } 205 } 206 return res; 207} 208# if SASL >= 20000 209/* 210** IPTOSTRING -- create string for SASL_IP*PORT property |
211** (borrowed from lib/iptostring.c in Cyrus-IMAP) |
212** 213** Parameters: 214** addr -- (pointer to) socket address 215** addrlen -- length of socket address 216** out -- output string (result) 217** outlen -- maximum length of output string 218** 219** Returns: --- 64 unchanged lines hidden --- |