00001 /************************************************************************* 00002 * $Id: idstr.h,v 1.1 2005/09/09 08:22:40 bellet Exp $ 00003 ************************************************************************** 00004 This software is governed by the CeCILL license under French law and 00005 abiding by the rules of distribution of free software. You can use, 00006 modify and/ or redistribute the software under the terms of the CeCILL 00007 license as circulated by CEA, CNRS and INRIA at the following URL 00008 "http://www.cecill.info". 00009 00010 As a counterpart to the access to the source code and rights to copy, 00011 modify and redistribute granted by the license, users are provided only 00012 with a limited warranty and the software's author, the holder of the 00013 economic rights, and the successive licensors have only limited 00014 liability. 00015 00016 In this respect, the user's attention is drawn to the risks associated 00017 with loading, using, modifying and/or developing or reproducing the 00018 software by the user in light of its specific status of free software, 00019 that may mean that it is complicated to manipulate, and that also 00020 therefore means that it is reserved for developers and experienced 00021 professionals having in-depth computer knowledge. Users are therefore 00022 encouraged to load and test the software's suitability as regards their 00023 requirements in conditions enabling the security of their systems and/or 00024 data to be ensured and, more generally, to use and operate it in the 00025 same conditions as regards security. 00026 00027 The fact that you are presently reading this means that you have had 00028 knowledge of the CeCILL license and that you accept its terms. 00029 00030 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de 00031 l'Image). All rights reserved. See License.txt for details. 00032 00033 Version 1.0 05/09/2005 00034 *************************************************************************/ 00035 00036 #ifndef __IDSTR_H__ 00037 #define __IDSTR_H__ 00038 #include "idswig.h" 00039 00040 char * IdStrCreateNewSuffix (char*, char*); 00041 char * IdStrRemoveSuffix (char*); 00042 int IdStrCmpNoCase (char*, char*); 00043 char * IdStrCreateUpperCase (char*); 00044 char * IdStrSetUpperCase (char*); 00045 int IdStrCountChar (char*, int); 00046 char * IdStrFileName (char *); 00047 char * IdStrDirName (char *); 00048 int * IdStrIntEnum (char*, int * OUTPUT); 00049 float * IdStrFloatEnum (char*, int * OUTPUT); 00050 int IdStrSwap (char *); 00051 int * IdStrSort (void **, int, INT_FUNCTION_VOIDP_VOIDP_POINTER); 00052 char ** IdStrGetDirContents (char*, char*); 00053 int IdStrGetDirNbFiles (char*, char*); 00054 int IdStrPatternMatching (char*, char*); 00055 char * _IdStrGetDirectoryName (char * ); 00056 char * IdStrDirFindFirstFile (char * ); 00057 char * IdStrDirFindNextFile (char * ); 00058 char * IdStrMakeFullPathName (char * , char *); 00059 00060 char * IdStrLibidoDataType (int); 00061 char * IdStrLibidoTypeObj (int); 00062 char * IdStrCleanName (char * ); 00063 00064 char * _IdStrShowTransfertSyntax (char *); 00065 #endif