strings.h

Go to the documentation of this file.
00001 /*
00002  ** Copyright(C) 2008 INL
00003  ** Written by Sebastien Tricaud <s.tricaud@inl.fr>
00004  **
00005  ** $Id: strings.h 4847 2008-06-13 14:48:31Z regit $
00006  **
00007  ** This program is free software; you can redistribute it and/or modify
00008  ** it under the terms of the GNU General Public License as published by
00009  ** the Free Software Foundation, version 3 of the License.
00010  **
00011  ** This program is distributed in the hope that it will be useful,
00012  ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  ** GNU General Public License for more details.
00015  **
00016  ** You should have received a copy of the GNU General Public License
00017  ** along with this program; if not, write to the Free Software
00018  ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00019  */
00020 
00021 int secure_snprintf(char *buffer, size_t buffer_size,
00022                          char *format, ...)
00023 #ifdef __GNUC__
00024         __attribute__((__format__(printf,3,4)))
00025 #endif
00026 ;
00027 
00028 char *str_extract_until(char *str, int c);
00029 
00030 int str_to_long(const char *text, long *value);
00031 int str_to_ulong(const char *text, unsigned long *value);
00032 int str_to_int(const char *text, int *value);
00033 int str_to_uint32(const char *text, uint32_t * value);
00034 char *str_itoa(int i);
00035 

Generated on Sat Nov 22 04:00:37 2008 for NuFW by  doxygen 1.4.7