/* utils.h --- Auxilliary help prototypes. * Copyright (C) 2002, 2003 Simon Josefsson * * This file is part of Shishi. * * Shishi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * Shishi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Shishi; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA * */ extern void _shishi_escapeprint (const char *str, int len); extern void _shishi_hexprint (const char *str, int len); extern void _shishi_binprint (const char *str, int len); extern void _shishi_bin7print (const char *str, int len); extern time_t xtime (time_t * t); extern int xgettimeofday (struct timeval *tv, struct timezone *tz);