00001 /******************************************************************************/ 00016 /******************************************************************************/ 00017 00018 #ifndef BULL_ARRUTILS_H 00019 #define BULL_ARRUTILS_H 00020 00021 #include "globals.h" 00022 00023 DLLIMPORT void strip_crlf(char *string_in); 00024 DLLIMPORT char *prepare_short_fname(const char *fname, unsigned int maxlen); 00025 DLLIMPORT char *filename_from_path(char *pathname); 00026 char *strdup_noquot(char *src); 00027 char *strdup_trim(char *src); 00028 00029 DLLIMPORT short format_map_fname(char *fname, const char *usrinput,const char *levels_path); 00030 DLLIMPORT short format_data_fname(char **fullname, const char *data_path, const char *format, ...); 00031 00032 int arr_ushort_pos(const unsigned short *arr,unsigned short arr_item,int array_count); 00033 00034 #endif // BULL_ARRUTILS_H