/*
 * Copyright (c) 2002, 2004 Sendmail, Inc. and its suppliers.
 *      All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENSE file which can be found at the top level of
 * the sendmail distribution.
 *
 *	$Id: str2rcb.h,v 1.6 2005/06/16 00:09:35 ca Exp $
 */

#ifndef SM_STR2RCB_H
#define SM_STR2RCB_H 1

#if SM_STR_READ
#define SM_EM_STR_RCB	SM_EM_RCB
#define sm_str_S	sm_rcb_S
#define sm_str_P	sm_rcb_P
#define sm_str_T	sm_rcb_T
#define sm_str_base	sm_rcb_base
#define sm_str_size	sm_rcb_size
#define sm_str_len	sm_rcb_len
#define sm_str_max	sm_rcb_max
#define sm_str_rpool	sm_rcb_rpool
#define sm_str_new	sm_rcb_new
#define sm_str_crt	sm_rcb_crt
#define sm_str_resize_data	sm_rcb_resize_data
#if SM_STR_CHECK
# ifndef SM_RCB_CHECK
#  define SM_RCB_CHECK 1
# endif /* ! SM_RCB_CHECK */
# define sm_str_getlen	sm_rcb_getlen
# define sm_str_getsize	sm_rcb_getsize
# define sm_str_setmax	sm_rcb_setmax
# define sm_str_getmax	sm_rcb_getmax
# define sm_str_space	sm_rcb_space
# define sm_str_clr	sm_rcb_clr
#endif /* SM_STR_CHECK */
#define sm_str_resize_data sm_rcb_resize_data
#define sm_str_free	sm_rcb_free
#define sm_str_cat	sm_rcb_putstr
#define sm_str_put	sm_rcb_put
#define sm_str_putuint32	sm_rcb_putuint32

#else /* SM_STR_READ */
#define SM_EM_STR_RCB	SM_EM_STR
#endif /* SM_STR_READ */

#endif /* SM_STR2RCB_H */


syntax highlighted by Code2HTML, v. 0.9.1