/*
 * Copyright (c) 2004, 2005 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: util.h,v 1.7 2005/06/20 19:46:18 ca Exp $
 */

#ifndef SM_UTIL_H
#define SM_UTIL_H 1

#include "sm/generic.h"
#include "sm/types.h"
#include "sm/io.h"
#include "sm/str.h"

void	 prt_fmtted(sm_file_T *_fp, int _indent, const char *_prefix, const char *_comment);

/* not used: sm_ret_T sm_duration2text(uint32_t _duration, sm_str_P _out); */

sm_ret_T sm_cpu_count(void);

sm_ret_T sm_set_dbglc(char **_ptr, uint _dbg[], uint _dbg_size);
sm_ret_T sm_set_dbgcats(char **_ptr, uint _dbg[], uint _dbg_size);

sm_ret_T sm_parse_ct_lvl(char **_ptr, ulong *_pfirst, ulong *_plast, ulong *_plevel);

#endif /* SM_UTIL_H */


syntax highlighted by Code2HTML, v. 0.9.1